Migrate from CentOS to AlmaLinux
CentOS to AlmaLinux migration


CentOS 8 reaches end-of-life (EOL) on December 31, 2021. Alot of companies and users used Centos for long time. They will not receive any updates or support after Centos reach EOL. so, this document explains the easy way to migrate from Centos to AlmaLinux.

Migrating from centos to AlmaLinux:

1. Ensure that your server has the latest updates and latest package available:

dns clean all
dnf -y update

2. Reboot the server to make sure it boots the latest kernel:


3. Download the AlmaLinux deploy scrips to your server

curl -O https://raw.githubusercontent.com/AlmaLinux/almalinux-deploy/master/almalinux-deploy.sh

4. Run the following command to migrate from centos to AlmaLinux

bash almalinux-deploy.sh

5. Verify the installed OS

cat /etc/redhat-release

5. The result should resemble the following example

AlmaLinux release 8.4 (Electric Cheetah)
We here explains how to migrate from Centos 8 to AlmaLinux 8 to avoid Centos EOL problem

Administrator 2 May, 2022
Share this post
Sign in to leave a comment
New release: Alma-Linux 8.5
New release of Alma-Linux 8.5