How to Convert from CentOS 8 to AlmaLinux OS 8
Last modified: December 24, 2021
This document explains how to convert a CentOS 8 server to an AlmaLinux OS 8 server. AlmaLinux OS is the CloudLinux™ fork of Red Hat® Enterprise Linux®.
Convert your server to AlmaLinux OS 8
To convert your CentOS 8 server to use the AlmaLinux OS 8 operating system, perform the following steps as the
Ensure that the server has the latest packages available:
dnf clean all dnf -y update
Reboot the server to make sure it boots the latest kernel:
almalinux-deployscript to your server:
curl -O https://raw.githubusercontent.com/AlmaLinux/almalinux-deploy/master/almalinux-deploy.sh
Run the following command to convert your server to the AlmaLinux OS operating system:When the process is complete, check the output for any errors. The output may resemble the following example:
Complete! Run dnf distro-sync -y OK Restoring of alternatives is done OK Generating grub configuration file … done All Secure Boot related packages which were released by not AlmaLinux are reinstalled OK Migration to AlmaLinux is completed
Run the following command to verify that the installation is complete:Your results should resemble the following example:
AlmaLinux release 8.4 (Electric Cheetah)
Run the following command to verify that the system boots the AlmaLinux OS kernel by default:Your results should resemble the following example:
sudo grubby --info DEFAULT | grep AlmaLinux
title="AlmaLinux (4.18.0-305.el8.x86_64) 8.4"
For more information about the conversion script, read the information in the AlmaLinux GitHub repository.