X

Technical articles, news, and insights
for Oracle's Infrastructure Software offerings

Easily switch from Scientific Linux to Oracle Linux

Simon Coter
Director of Product Management

Scientific Linux, based on Red Hat Enterprise Linux and co-developed by Fermi National Accelerator Laboratory and the European Organization for Nuclear Research (CERN), is being discontinued; Fermilab will continue to support Scientific Linux 6 and 7 through the remainder of their respective lifecycles.

The possible switch from Scientific Linux (SL) 6/7 to Oracle Linux (OL), the Enterprise Oracle Distribution 100% RedHat compatible, can be easily done today for free and, if required, you can also get Enterprise Support from Oracle on the same. It's also important to remember that updates for Oracle Linux releases are, and will continue to be, public available for free.

Let's immediately deep dive into the steps required to complete the migration:

  • Evaluate your SL release
# cat /etc/sl-release

  • [OPTIONAL] Update SL installation with latest packages available
    • by updating to the latest release available you won't have to manually manage possible RPM dependencies
# yum update -y

  • Update Yum configuration to point to free updates for Oracle Linux
# yum install https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/getPackage/oraclelinux-release-el7-1.0-6.el7.x86_64.rpm
# cd /etc/yum.repos.d; mkdir old; mv redhat.repo repos.repo sl* old/
# wget https://yum.oracle.com/RPM-GPG-KEY-oracle-ol7 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

  • Swap SL release RPM to the RedHat release RPM (Oracle Linux maintains 100% compatibility)
# yum swap sl-release redhat-release-server -y

  • Update the system to the latest Oracle Linux Release
# yum update -y

  • [OPTIONAL] Install Oracle Unbreakable Kernel Release 5 and update Grub2 Menu
# yum install grub2-tools kernel-uek -y

# grub2-mkconfig -o /boot/grub2/grub.cfg

  • Verify Linux Distribution Installed
# cat /etc/oracle-release

Once the migration is completed you can evaluate to continue to use Oracle Linux and get Errata's from Oracle for free or, if required, evaluate the Enterprise Support options coming from Oracle.

For further information:

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.