Hello friends. I think everyone knows what has happened with CentOS and some alternatives like AlmaLinux have emerged. So, in this post, we will explain to you how to migrate from CentOS to AlmaLinux.
According to the AlmaLinux website
An open-source RHEL fork built by the team at CloudLinux, inspired by the community. AlmaLinux OS is an enterprise-grade server OS, a stable Linux distribution with regular releases that come with long support windows. You can rely on AlmaLinux OS to run you and your clients’ critical workloads.
Thus, we have another RHEL-based clone, but it seems to be the best positioned to replace CentOS.
For AlmaLinux the most important thing is the community so they guarantee that it will never stop being free.
The migration process is quite simple but there are two considerations to take into account before starting the process:
- You need to make a backup. If you use CentOS as a Workstation then LuckyBackup is a good option. In case you use it on a server you should use more professional and specific tools.
Disable Secure Boot because AlmaLinux doesn’t support it yet. This is very important to avoid problems after the process.In general, the process is quite secure but it is better to be careful and take care of as much data as possible,
So, open a terminal and update the distribution
sudo dnf update
After the whole system is updated, make sure you have the
curl package to download the script.
curl -O https://raw.githubusercontent.com/AlmaLinux/almalinux-deploy/master/almalinux-deploy.sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 12323 100 12323 0 0 50504 0 --:--:-- --:--:-- --:--:-- 50297
And then, you have to run the script as such.
sudo bash almalinux-deploy.sh
The process will take some time depending on what you have installed on your internet connection and your computer.
After the process is finished you can check the changes.
And you should get an output screen similar to this one
AlmaLinux release 8.3 (Purple Manul)
This way the migration will be complete.