How to Upgrade CentOS 7 to Rocky Linux 8 | ITzGeek
yum update -y
reboot
Install Elevate
yum install -y http://repo.almalinux.org/elevate/elevate-release-latest-el7.noarch.rpm
yum install -y leapp-upgrade leapp-data-rocky
Perform Pre-check
leapp preupgrade
rmmod pata_acpi
echo PermitRootLogin yes | tee -a /etc/ssh/sshd_config
leapp answer --section remove_pam_pkcs11_module_check.confirm=True
升级rocky linux8
leapp upgrade
reboot