✉️contact@dadesktop.es 📞+34 911 43 64 28

AlmaLinux8

v1: A starting template designed for migrating from CentOS8 now that it's end-of-life. Almalinux serves as an exact 1:1 binary replacement for CentOS8.
 

Notes on upgrading or migrating CentOS8 templates

This information originates from AlmaLinux's official guide, available at https://github.com/AlmaLinux/almalinux-deploy . For the most current version, check that link; the text below is reproduced here as of today (29/3/2022) for reference.

We provide these details as a community resource, but we cannot assume liability for any errors or problems that might arise from the notes presented here.
 

almalinux-deploy

An EL to AlmaLinux migration tool.

Usage

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

  1. You need CentOS 8.4 or 8.5 to migrate to AlmaLinux. Updating to 8.5 beforehand is advised, though not mandatory if you're already on 8.4. If your system receives new updates, a reboot afterward is recommended.

    sudo dnf update -y
    sudo reboot
    
  1. Make a backup of your system. Not every scenario has been tested, so there's a risk of something going wrong. Having a restore point will give you a safety net in such a case.

  2. Get the almalinux-deploy.sh script:

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

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

    sudo reboot
    
  5. Check 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 selecting AlmaLinux!