Linux serverNETWORK ADMINISTRATIONS

How to Migrate CentOS 7.9 into RockyLinux 8.5 | CentOS 7.9 into RockyLinux 8.5 Migrate

This video describes how to migrate from CentOS 7.9 into RockyLinux 8.5.

Commands used in this tutorial 👇👇👇

yum update -y

reboot

yum install -y http://repo.almalinux.org/elevate/elevate-release-latest-el7.noarch.rpm

yum install -y leapp-upgrade leapp-data-rocky

leapp preupgrade

rmmod pata_acpi
echo PermitRootLogin yes | tee -a /etc/ssh/sshd_config
leapp answer –section remove_pam_pkcs11_module_check.confirm=True

leapp upgrade
reboot

source

centos 8

4 thoughts on “How to Migrate CentOS 7.9 into RockyLinux 8.5 | CentOS 7.9 into RockyLinux 8.5 Migrate

  • success, only if you have error with java packages remove then. 🤝

  • 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

Comments are closed.