DaDesktop

AlmaLinux8

v1: This initial template is provided for migrating away from the CentOS8 template now that it has reached end-of-life. AlmaLinux serves as a binary-compatible drop-in replacement for CentOS8.
 

Guidance for users looking to upgrade or migrate their CentOS8 templates

The following content is drawn from AlmaLinux's official guide, available at https://github.com/AlmaLinux/almalinux-deploy. We encourage you to check the link for the most up-to-date version; the text below is reproduced as a snapshot for reference (29/3/2022).

This guidance is shared for the benefit of our community, but we accept no liability for any errors or issues that may arise from following these notes.
 

almalinux-deploy

An EL to AlmaLinux migration tool.

Usage

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

  1. You‘ll need CentOS 8.4 or 8.5 as your starting point. We advise upgrading to 8.5 before proceeding, though it’s not mandatory if you're already on at least 8.4. If your system installs new updates, a reboot is suggested thereafter.

    sudo dnf update -y
    sudo reboot
    
  1. Take a full backup of your system. Since not every scenario has been tested, there‘s a chance of unexpected behaviour. Having a backup gives you a restore point if needed.

  2. Fetch the almalinux-deploy.sh script:

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

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

    sudo reboot
    
  5. Confirm 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. Thanks for choosing AlmaLinux!