Transform CentOS To Oracle Linux 7 In 2 Easy Steps

What is CentOS?

Why Switch?

Oracle Linux

Switching from CentOS to Oracle Linux

vagrant init centos/7 vagrant up
cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) 
sudo yum install git sudo yum update && sudo yum upgrade -yum
git clone https://github.com/oracle/centos2ol.git
ls centos2ol.sh CONTRIBUTING.md LICENSE.txt README.md SECURITY.md ./centos2ol.sh
./centos2ol.sh Checking for required packages... 
Checking your distribution...
package epel-release is not installed
Checking for yum lock...
Checking for required python packages...
Finding your repository directory...
Learning which repositories are enabled...
Repositories enabled before update include: base extras updates Downloading Oracle Linux yum repository file...
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 16402 100 16402 0 0 55698 0 --:--:-- --:--:-- --:--:-- 55789
Looking for yumdownloader...
Backing up and removing old repository files...
Removing CentOS-specific yum configuration from /etc/yum.conf Downloading Oracle Linux release package...
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile ... ... ...
done Removing yum cache Switch complete.
Oracle recommends rebooting this system.
uptime 12:31:05 up 0 min, 1 user, load average: 1.17, 0.42, 0.15 cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.9 (Maipo)
cat /etc/oracle-release
Oracle Linux Server release 7.9

Other Options

Conclusions

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store