Ispmanager 6 lite, pro, host documentation

Migrating from CentOS 8 to AlmaLinux 8

 

Since January 2022, support for CentOS 8 has ended. Installation and operation of the control panel on a server with CentOS 8 is not supported.

To continue working with the control panel, you can migrate to AlmaLinux OS using the almalinux-deploy script:

  1. Connect to the server with the conrol panel via SSH.
  2. Check the OS version: 
    cat /etc/redhat-release
  3. If the OS version is lower than 8.5, change the paths to the repositories: 
    sed -i -r 's|^(mirrorlist.+)$|#\1|g; s|^#baseurl=http://mirror.centos.org/\$contentdir/\$releasever/|baseurl=https://vault.centos.org/8.5.2111/|g' /etc/yum.repos.d/CentOS-*.repo
  4. Update software:
    sudo yum update -y
  5. Download the migration script:
    curl -O https://raw.githubusercontent.com/AlmaLinux/almalinux-deploy/master/almalinux-deploy.sh
  6. Run the script:
    sudo bash almalinux-deploy.sh

    Message on successful script execution

    Migration to AlmaLinux is completed
  7. If the script run fails with an error like 

    Example of error

    Verify almalinux-release-latest.rpm package                           ERROR
        /root/.alma.X46iDx/almalinux-release-latest.rpm: digests SIGNATURES NOT OK
    import the GPG key of the AlmaLinux repository manually and restart the script:
    sudo rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux && sudo bash almalinux-deploy.sh
  8. Check that AlmaLinux has been installed:
    cat /etc/redhat-release

    Example of reply

    AlmaLinux release 8.5 (Arctic Sphynx)
  9. Check that the AlmaLinux kernel is loaded by default:
    sudo grubby --info DEFAULT | grep AlmaLinux

    Example of reply

    title="AlmaLinux (4.18.0-348.el8.x86_64) 8.5 (Arctic Sphynx)"
Note
We recommend rebooting the server after migration.