AlmaLinux8

v1: This initial template is for migrating from CentOS8 now that it's reached end-of-life. Almalinux acts as a direct binary replacement for CentOS8.
 

Migration guidance for users planning to upgrade or migrate their CentOS8 templates

The content below is extracted from AlmaLinux’s official migration guide, available at https://github.com/AlmaLinux/almalinux-deploy. We recommend checking the link for the most up-to-date version; the instructions provided here are current as of 29/3/2022.

These notes are offered as a helpful resource for our community, but we accept no liability for any errors or problems that may arise from following them.
 

almalinux-deploy

An EL to AlmaLinux migration tool.

Usage

To convert your EL8 OS to AlmaLinux, follow these steps:

  1. You'll need CentOS 8.4 or 8.5 to migrate to AlmaLinux. It's a good idea to upgrade to 8.5 first, though if you're already on 8.4 that's acceptable. After applying updates, restarting is advisable if your system pulled in new packages.

    sudo dnf update -y
    sudo reboot
    
  1. Create a backup of your system. Since not every scenario has been tested, there is a chance something might go awry; having a backup ensures you can restore if needed.

  2. Retrieve the almalinux-deploy.sh script:

    $ curl -O https://raw.githubusercontent.com/AlmaLinux/almalinux-deploy/master/almalinux-deploy.sh
  3. Execute the script and inspect the output for any errors:

    $ sudo bash almalinux-deploy.sh
      ...
      Migration to AlmaLinux is completed
  4. A reboot is advisable so you can start using the AlmaLinux kernel:

    sudo reboot
    
  5. Verify that the conversion completed successfully:

    # confirm release version
    $ cat /etc/redhat-release
    AlmaLinux release 8.5 (Arctic Sphynx)
    
    # confirm the system boots AlmaLinux kernel by default
    $ sudo grubby --info DEFAULT | grep AlmaLinux
    title="AlmaLinux (4.18.0-348.el8.x86_64) 8.5 (Arctic Sphynx)"
  6. Thanks for going with AlmaLinux!