DaDesktop

AlmaLinux8

v1: This initial template is provided for migrating away from CentOS8 templates now that CentOS8 has reached end-of-life. AlmaLinux serves as a direct one-to-one binary replacement for CentOS8.
 

Guidance for upgrading or migrating CentOS8 templates

This content is taken from the official AlmaLinux guide, which can be found at https://github.com/AlmaLinux/almalinux-deploy . Please refer to the latest version from that link; the text below is reproduced as of today (29/3/2022) for reference.

This information is provided as a guide for our community in Indonesia, and no responsibility is assumed for any errors or issues arising from following these notes.
 

almalinux-deploy

A tool for migrating from EL to AlmaLinux.

Usage

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

  1. You need to be running CentOS 8.4 or 8.5 to migrate. While not mandatory, upgrading to 8.5 beforehand is recommended if you are on at least CentOS 8.4. A system reboot after applying updates is advisable.

    sudo dnf update -y
    sudo reboot
    
  1. Create a system backup. Since we haven’t tested every possible scenario, there is a chance something may go wrong. Having a backup gives you a restore point.

  2. Download the almalinux-deploy.sh script:

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

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

    sudo reboot
    
  5. Verify that your system was successfully converted:

    # 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!