DaDesktop

AlmaLinux8

v1: Starting point for migrating from CentOS8, now that it has reached end of life. AlmaLinux acts as a drop-in, binary-compatible substitute for CentOS8.
 

Guidance for those upgrading or migrating from CentOS8 templates

The following comes from AlmaLinux's official documentation, available at https://github.com/AlmaLinux/almalinux-deploy. Always refer to the original source for the latest version – the steps below are reproduced as of 29/3/2022 for quick reference.

We provide this as a community resource, but please understand that we cannot assume liability for any errors or problems that might occur when following these instructions.
 

almalinux-deploy

A tool for migrating from EL to AlmaLinux.

Usage

To move from your EL8 operating system to AlmaLinux, carry out these steps:

  1. You'll need CentOS 8.4 or 8.5 to get started. While updating to 8.5 before the migration is recommended, it's not mandatory provided you're running at least 8.4. After applying any fresh updates, a reboot is a good idea if the system received patches.

    sudo dnf update -y
    sudo reboot
    
  1. Create a full system backup. Since not every possible configuration has been tested, there's always a chance something might not go as planned. Having a backup gives you a restore point if needed.

  2. Grab the almalinux-deploy.sh script:

    $ curl -O https://raw.githubusercontent.com/AlmaLinux/almalinux-deploy/master/almalinux-deploy.sh
  3. Run the script and carefully review the output for any error messages:

    $ sudo bash almalinux-deploy.sh
      ...
      Migration to AlmaLinux is completed
  4. Perform a reboot to load the AlmaLinux kernel:

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