How to Migrate CentOS 7.9 into AlmaLinux 8.5 | Migrate CentOS 7 into AlmaLinux 8
This video describes how to migrate from CentOS 7.9 into AlmaLinux 8.5. In this video, we have used elevate-release and leapp-upgrade packages to migrate CentOS 7.9 into AlmaLinux 8.5.
Commands used in this tutorial 👇👇👇
#Updating the system
yum update -y
reboot
#Installing elevate-release and leapp-upgrade packages
yum install -y http://repo.almalinux.org/elevate/elevate-release-latest-el7.noarch.rpm
yum install -y leapp-upgrade leapp-data-almalinux
#Running pre-upgrade check
leapp preupgrade
#Fixing the mandatory error(s)
rmmod pata_acpi
echo PermitRootLogin yes | tee -a /etc/ssh/sshd_config
leapp answer –section remove_pam_pkcs11_module_check.confirm=True
#Running pre-upgrade check, again
leapp preupgrade
# Upgrading the system
leapp upgrade
reboot
centos 7
hi. will all my settings and apps copied from centos7 to alma linux when I do this? I currently have VPS Server in Godaddy which has centos7 and hosted many websites.
nice
Good job 👍
HelloEnterprise Linux Nepal
Can you help me to resolve this problem. I passed preupdate section but I have some problems with update
8:16 AM
STDERR:
Failed to create directory /var/lib/leapp/el8userspace//sys/fs/selinux: Read-only file system
Failed to create directory /var/lib/leapp/el8userspace//sys/fs/selinux: Read-only file system
No matches found for the following disable plugin patterns: subscription-manager
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/bitrix.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel-testing.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel-testing.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel-testing.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Warning: Packages marked by Leapp for upgrade not found in repositories metadata: gpg-pubkey
RPM: warning: Generating 6 missing index(es), please wait…
Error: Transaction test error:
file /etc/yum/pluginconf.d from install of yum-4.7.0-8.el8.alma.noarch conflicts with file from package etckeeper-1.18.17-1.el7.noarch
I use sudo leapp upgrade