Sajid Ali
Sajid Ali
Linux & Windows Server Administrator | Cloud Architect: I possess 10 years of professional experience with administration of different hosting provider’s Linux and Windows based servers on a large production level.

How to migrate from CentOS 8 to AlmaLinux 8.

AlmaLinux is a free and open source Linux distribution, created originally by CloudLinux to provide a community-supported, production-grade enterprise operating system that is binary-compatible with Red Hat Enterprise Linux.


Backup project and important files/directories:

Take a full backup of your important config files, directories, project files and databases etc. So, if something goes wrong, we should be able to go back quickly.

Step # 1:  Installing all updates on CentOS 8.

First, make sure all the existing packages on your system are up to date.

dnf update

Now, verify CentOS Linux 8 version.




Step # 2: Download the Almalinux deploy script.

Download the script using the wget or curl command, type:


# read the script #


set up executable permission using the chmod command

chmod -v +x

Step # 3: Migration from CentOS 8 to AlmaLinux 8.

Now execute for migrating CentOS to AlmaLinux.


Step # 4: Verification the Server version.

Check the server version using command below.

cat /etc/redhat-release


cat /etc/0s-release

Make sure there are no errors, execute the command below.

tail -f /var/log/messages


In this article you have learned how to migrate from CentOS 8 to AlmaLinux. Check out the AlmaLinux website for documentation  and GitHub link.


Please enter your comment!
Please enter your name here

Latest articles

Join us on Facebook