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

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's public 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
# sh centos2ol.sh

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