DaDesktop

AlmaLinux8

This version 1 template serves as a starting point for moving away from CentOS 8, now that it's reached its end of life. AlmaLinux offers a direct, binary-compatible substitute for CentOS 8.
 

Guidance for Upgrading or Migrating Your CentOS 8 Templates

The content below is sourced from the official AlmaLinux guide, available at https://github.com/AlmaLinux/almalinux-deploy. Please check the link for the most up-to-date version; what's shown here was current as of 29/3/2022.

This information is provided as a guide for our community in Hong Kong. However, no responsibility for errors or issues arising from these notes should be assumed.
 

almalinux-deploy

An EL to AlmaLinux migration tool.

Usage

Here's how to migrate your EL8 operating system to AlmaLinux:

  1. You'll need either CentOS 8.4 or 8.5 to proceed with the conversion to AlmaLinux. While updating to 8.5 beforehand is advisable, it's not mandatory if you're already running at least 8.4. After applying any updates, it's a good idea to reboot your system.

    sudo dnf update -y
    sudo reboot
    
  1. Make a backup of your system. Not every possible scenario has been tested, so there's a chance something could go wrong. A backup gives you a restore point if needed.

  2. Get the almalinux-deploy.sh script by downloading it:

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

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

    sudo reboot
    
  5. Confirm that the conversion completed successfully:

    # 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 going with AlmaLinux!