DaDesktop

AlmaLinux8

v1 : This initial template has been crafted for the migration from the CentOS8 template, now that it has reached its end of life. AlmaLinux offers a direct, binary‑compatible replacement for CentOS8.
 

Guidance for Upgrading or Migrating CentOS8 Templates

The content below is drawn from the official AlmaLinux guide, which can be found at https://github.com/AlmaLinux/almalinux-deploy. Please refer to the link for the most recent version; the text has been reproduced here as of 29/3/2022 for reference purposes.

This information is provided as a community resource, but no liability is assumed for any errors or issues that may arise from following these notes.
 

almalinux-deploy

A migration utility for transitioning from Enterprise Linux (EL) to AlmaLinux.

Usage

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

  1. Your system must be running CentOS 8.4 or 8.5. Upgrading to 8.5 beforehand is advisable, though not strictly necessary if you are already on at least 8.4. After applying updates, a reboot should be performed so that any new updates are properly activated.

    sudo dnf update -y
    sudo reboot
    
  1. Create a backup of the system. Not every possible scenario has been tested, so there is always a chance of unexpected issues. A restore point will allow you to recover 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 inspect its output to ensure no errors occurred:

    $ sudo bash almalinux-deploy.sh
      ...
      Migration to AlmaLinux is completed
  4. A reboot is recommended so the system starts 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. We appreciate your choice of AlmaLinux!