AlmaLinux8

Version 1: This is the preliminary template designed for migrating from CentOS8 following its end-of-life. AlmaLinux serves as an exact binary-compatible alternative to CentOS8.
 

Guidance for upgrading or migrating your CentOS8 templates

The following information is derived from the official AlmaLinux guide, available at https://github.com/AlmaLinux/almalinux-deploy. Please check the link for the most up-to-date version; the content below has been reproduced as of today (29/3/2022) for reference.

These notes are offered as a community resource, but we assume no liability for any errors or problems that might arise from their use.
 

almalinux-deploy

A migration tool from EL to AlmaLinux.

Usage

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

  1. You need either CentOS 8.4 or 8.5 to migrate to AlmaLinux. While updating to 8.5 before the move is advised, it's not mandatory as long as you are at least on 8.4. If the system receives updates, a reboot afterward is suggested.

    sudo dnf update -y
    sudo reboot
    
  1. Create a backup of your system. Not every scenario has been tested, so there is a risk of issues. Having a backup ensures you can restore if needed.

  2. Download the almalinux-deploy.sh script:

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

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

    sudo reboot
    
  5. Verify that the conversion was successful:

    # check release file
    $ cat /etc/redhat-release
    AlmaLinux release 8.5 (Arctic Sphynx)
    
    # check that 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. Thank you for selecting AlmaLinux!