In this tutorial, we’re going to go over how to migrate from CentOS 8 to AlmaLinux. As a note, for the migration, you should be running on Centos version 8.3 or higher – additionally, please make sure sure you have 5GB of disk space for the upgrading process.
If you run a lower version, you will see the error shown below while running the conversion script:
Follow the steps mentioned below for upgrading.
Download the AlmaLinux migration script using the command mentioned below:
Now, we need make the script executable using the command mentioned below:
[[email protected] ~]# chmod +x almalinux-deploy.sh
and now we can run the script as shown below:
[[email protected] ~]# ./almalinux-deploy.sh
Once the migration is complete, you will see the message shown above.
Reboot the server to load the latest AlmaLinux OS.
Once the server is rebooted, check the version of your system using the command mentioned below:
[[email protected] ~]# cat /etc/redhat-release
Now, you can confirm that the OS has been migrated to AlmaLinux.
If you are looking for an AlmaLinux VPS, please be sure to check out RackNerd’s server hosting solutions below.