How to convert CentOS to Oracle Linux 7

From Computernewb Wiki
Revision as of 09:37, 9 May 2022 by computernewb>Undefishin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

< Install Oracle Linux 7 | Add user accounts >

Its possible to convert an existing CentOS 5, 6, and 7 installation into a Oracle Linux 7 installation. The process is very simple. This currently does not work with CentOS 8.

First, download the script to convert it from the Oracle website:

[root@localhost ~]# curl -O https://linux.oracle.com/switch/centos2ol.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  6544  100  6544    0     0   6544      0  0:00:01 --:--:--  0:00:01 15507
[root@localhost ~]# sh centos2ol.sh # Remember to run this script as root

After a few minutes, the system should be converted.