6 Switching CentOS or Scientific Linux Systems to Use the Oracle Linux Yum Server

WARNING:

Oracle Linux 7 is now in Extended Support. See Oracle Linux Extended Support and Oracle Open Source Support Policies for more information.

Migrate applications and data to Oracle Linux 8 or Oracle Linux 9 as soon as possible.

You can use the centos2ol.sh script to convert CentOS 5 and 6 or Scientific Linux 5 and 6 systems to Oracle Linux. The script configures yum to use the Oracle Linux yum server and installs a few additional packages that are required. There is no need to reboot the system.

To perform the switch to Oracle Linux, run the following commands as root:

curl -O https://linux.oracle.com/switch/centos2ol.sh
sudo sh centos2ol.sh            

For more information, see https://linux.oracle.com/switch/centos/.