Introduction
CentOS 8 and other EL8 servers can be converted to use CloudLinux's fork of RHEL, AlmaLinux. CentOS 8 is currently slated for End-of-Life status on December 31, 2021.
Procedure
First, ensure the server has the latest packages available:
# dnf clean all
# dnf -y update
We also suggest rebooting the server to ensure that the latest kernel is loaded. This step can be skipped if the loaded kernel is verified to be the latest one.
# reboot
Download the almalinux-deploy script:
# curl -O https://raw.githubusercontent.com/AlmaLinux/almalinux-deploy/master/almalinux-deploy.sh
Run the script:
# bash almalinux-deploy.sh
Wait for the process to complete, check for errors:
Complete!
Run dnf distro-sync -y OK
Restoring of alternatives is done OK
Generating grub configuration file ...
done
All Secure Boot related packages which were released by not AlmaLinux are reinstalled OK
Migration to AlmaLinux is completed
Verify that the installation is complete:
Check release file
# cat /etc/redhat-release
AlmaLinux release 8.4 (Electric Cheetah)
Check that the system boots AlmaLinux kernel by default
# grubby --info DEFAULT | grep AlmaLinux
title="AlmaLinux (4.18.0-305.el8.x86_64) 8.4"
More information about the conversion script is available in the AlmaLinux GitHub here:
Comments
0 comments
Article is closed for comments.