Several factors secure the change from CentOS to Oracle Enterprise Linux:

  1. Oracle Enterprise Linux is a validated platform for hosting Oracle databases and applications.
  2. Built upon Red Hat Enterprise Linux, Oracle Enterprise Linux taps into Red Hat’s support ecosystem and wealth of expertise.
  3. Oracle Enterprise Linux is available for free download and use.
  4. Superior performance and stability are offered by Oracle Enterprise Linux compared to CentOS.

The contents of the “/etc/centos-release” file indicate our current CentOS installation.

cat /etc/centos-release

Install the curl package or wget package before downloading the script from the public github repository.

curl -O https://raw.githubusercontent.com/oracle/centos2ol/main/centos2ol.sh

or

wget https://raw.githubusercontent.com/oracle/centos2ol/main/centos2ol.sh

Check the downloaded file in your present location

ls -lrta

Now execute the script using bash

bash centos2ol.sh

Now wait for the script to complete and once it completes and promt to perform reboot by init 6.

init 6

After reboot of server, check for the OS release

cat /etc/centos-release

Enjoy..!