CentOS 7 and Oracle Linux 8 are both popular Linux distributions that serve different purposes within the open-source community.

CentOS 7:

1. Origin and Community-driven:

Oracle Linux 8:

Origin and Enterprise Focus:

Transition from CentOS 7 to Oracle Linux 8:

This guide explains how to combine a software upgrade and migration into a single process, taking you from CentOS 7 directly to Oracle Linux 8. It demonstrates using the open-source projects Leapp and Elevate to achieve this streamlined migration and upgrade in one go.

#update YUM package
yum update -y

#reboot
init 6
yum install -y http://repo.almalinux.org/elevate/elevate-release-latest-el$(rpm --eval %rhel).noarch.rpm
yum install -y leapp-upgrade leapp-data-oraclelinux

Before upgrading, use the preupgrade check to assess your system’s readiness. This analysis will highlight potential conflicts without making any changes. The report files and debug log it creates offer valuable insights into your system’s configuration and possible upgrade challenges. To initiate this process, simply run the leapp preupgrade command.

leapp preupgrade

Edit /var/log/leapp/answerfile and uncomment Confirm and add TRUE as answer.

leapp upgrade

reboot

Post-Migration Steps:

  1. Verify Successful Migration:
    • Once the system reboots, log in and confirm that the operating system is now Oracle Linux 8.
  2. Review Leftover Packages:
    • Check for any remaining CentOS 7 packages that might not have been migrated automatically. You can then decide whether to remove them manually or update them to their Oracle Linux 8 equivalents.
  3. Examine Upgrade Logs:
    • Finally, review the upgrade logs to ensure the migration process completed successfully and identify any potential issues that require attention.

cat /etc/oracle-release
cat /etc/os-release

Thank you ..!