ATIX AG
  • Leistungen
    • Consulting
      • Linux Platform Operations​
      • Infrastructure Automation​
      • Container Plattformen und Cloud​
      • DevOps Prozesse, Tooling und Kultur​
      • Cloud Native Software Entwicklung​
    • Produkte
      • orcharhino
        • Über orcharhino
        • orcharhino Support
        • orcharhino Betrieb
      • Hangar
        • Über Hangar
        • Hangar Roadmap
        • Hangar Community
    • Technologien
      • Ansible
      • AWX und Ansible Automation Platform
      • Docker
      • Foreman
      • GitLab
      • Istio
      • Kubernetes
      • Linux-Distributionen
      • OpenShift
      • Puppet
      • OpenVox
      • Rancher
      • Rundeck
      • Saltstack
      • SUSE Manager
      • Terraform
  • Schulungen
    • Ansible-Schulungen
    • AWX-Schulung
    • Container-Schulung
    • Docker-Schulung
    • Git-Schulung
    • Go-Schulung (Golang)
    • Istio-Schulung
    • Kubernetes-Schulung
    • OpenShift-Schulung
    • orcharhino-Schulung
    • Puppet-Schulungen
    • Terraform-Schulung
  • Events
    • Webinare
  • Blog
  • Unternehmen
    • Über uns
    • Referenzen
    • Unternehmenswerte
    • Soziales Engagement
    • Newsroom
    • Newsletter
    • Kontakt
  • Karriere
  • Suche
  • Menü Menü

Migrating CentOS 8 to Rocky Linux 8 or AlmaLinux 8 using orcharhino

Red Hat has ceased support for CentOS 8 with the end of 2021. Therefore people have been looking for alternatives. Two of the most famous ones are Rocky Linux 8 and AlmaLinux 8, both of which represent binary compatible distributions based on Red Hat.

This makes it easy to perform an inplace conversion of CentOS 8 servers to Rocky Linux or AlmaLinux and continue using the same servers as before. With orcharhino this conversion can be done even a bit easier:

First of all make sure that your system is up-to-date with respect to the latest available version of CentOS 8:
#yum update -y

Remove the CentOS-specific packages without dependencies:
#rpm -e --nodeps centos-gpg-keys centos-linux-release centos-linux-repos

(Re)subscribe to orcharhino with force using the appropriate activation key for Rocky Linux/AlmaLinux:
#subscription-manager register --org=< organization > --activationkey=< rocky/alma-activation-key > --force

Install the Rocky Linux or respectively the AlmaLinux release:
#yum install -y rocky-release rocky-repos

----------------------------------------

#yum install -y almalinux-release

Empty the created upstream repositories on your server:
#find /etc/yum.repos.d -name "Rocky*.repo" -exec rm {} ; -exec touch {} ;

--------------------------------------------------------------------------

#find /etc/yum.repos.d -name "alma*.repo" -exec rm {} ; -exec touch {} ;

Perform a yum distro-sync on your server:
#yum distro-sync -y

Reboot your machine.
Done.
When your machine comes back online you have successfully converted your CentOS 8 server to a Rocky or an AlmaLinux server.

Das könnte Sie auch interessieren:
orcharhinoorcharhino und Sophos – eine Malware Spurensuche
fpm – der schnelle Weg zum Paket
Snapshots für alle!
Btrfs vs ZFS: Die Zukunft der Dateisysteme ATIX BlogBtrfs vs ZFS: Die Zukunft der Dateisysteme
hammer – Administration von Foreman auf der Kommandozeile
Registers und Makros in Vim
Fabrice Brimioulle
+ postsBio

IT-Consultant, ATIX AG

  • Fabrice Brimioulle
    https://atix.de/blog/author/fabrice-brimioulle/
    Die Tentakel des orcharhino – Deployen mit vielen Subnetzen
IT-Expertise, die Sie weiterbringt

🎓 Webinare – Live & On-Demand
Wissen, wann und wie Sie es wollen. Praxisnahe Sessions zu DevOps, Open Source & IT-Automatisierung.
👉 Jetzt entdecken »

ISO-Zertifizierung Zertifikat
Newsletter
Nichts mehr verpassen. Melden Sie sich für den ATIX Newsletter an!
Jetzt anmelden
Blog
  • Blog Startseite
  • ATIX Insights
  • Cloud Native
  • Container Plattformen und Cloud
  • DevOps
  • Hangar
  • Infrastructure Automation
  • Linux Platform Operations
  • orcharhino
Datenschutz & Impressum

Datenschutz

Impressum

AGB

B2B
Twitter     Facebook    LinkedIn    Xing     Youtube     mastodon=

© Copyright – ATIX AG

Nach oben scrollen