Upgrade/Convert Centos To Alma Linux
Created: 2023-11-08 02:27:31 | Last modified: 2023-11-08 03:03:55
Access: Read | Views: 10 | Rating: N/A | Tags: centos to alma centos 8 to alma linux
Instructions with how to upgrade your Centos 8 Linux installation to Alma Linux
As Centos8 is no longer supported and a number of users are not wanting to move to Centos Stream, an option is to upgrade/convert the Centos installation to Alma Linux. Alma Linux is binary compatible with Centos just like Red Hat Linux previously was. To get started, follow the instructions below;
Note: you may need to use sudo if you don't already have elevated shell access.
Update the system
yum -y update
Get the Alma deploy script
cd
curl -O https://raw.githubusercontent.com/AlmaLinux/almalinux-deploy/master/almalinux-deploy.sh
If using a version of Centos prior to 8.4 upgrade mirror list and run a yum update. If running a version later than 8.4 you can skip this step.
bash almalinux-deploy.sh -f
dnf update -y
reboot
Run the script
bash almalinux-deploy.sh

Check for any errors and then reboot
reboot
Once the system is rebooted, confirm you are running the correct version
cat /etc/redhat-release
Check that the system boots into Alma Linux using the Alma kernel
grubby --info DEFAULT | grep AlmaLinux