/
/
Migration from CentOS 8 to AlmaLinux 8

Migration from CentOS 8 to AlmaLinux 8

Why?

As of 01.01.2022, support for CentOS 8 is discontinued. Installation and operation of the ispmanager 6 control panel on a server running CentOS 8 is not supported.

To get updates and ensure correct operation of the ispmanager 6 control panel, it's best to migrate to AlmaLinux.

These instructions will help you if you are going to upgrade from ISPmanager 5 to ispmanager 6.

Instructions

PLEASE NOTE!

Migration is executed with the "almalinux-deploy" script, making it compatible with CentOS 8 Stream.

Connect to the server via SSH under the “root” user and verify that CentOS 8 is being used by running the command:

cat /etc/redhat-release

Update the system repository links using the following commands:

sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*

Next, update system packages:

sudo yum update -y

 

Download the OS conversion script:

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

Run the conversion script and wait until the conversion is complete:

bash almalinux-deploy.sh -d

 

If the error “digests SIGNATURES NOT OK” occurs after running the script, import the AlmaLinux repository GPG key manually and restart the script with the following command:

rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux && sudo bash almalinux-deploy.sh

 

Make sure the conversion to AlmaLinux 8 was complete successfully by running the command:

cat /etc/redhat-release

In this article