8i | 9i | 10g | 11g | 12c | 13c | 18c | Misc | PL/SQL | SQL | RAC | WebLogic | Linux

Home » Articles » Linux » Here

Convert RHEL 5.x to Oracle Linux 5.x

Convert RHEL to Oracle Linux

Log on to the RHEL server as the "root" user and remove the existing yum repository files.

cd /etc/yum.repos.d
rm *.repo

Download the key and repository file from public-yum.oracle.com.

wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpg --quiet --with-fingerprint /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
wget http://public-yum.oracle.com/public-yum-el5.repo

Erase the "rhn-client-tools" package, as this will cause conflicts with "up2date" during the full update.

yum erase rhn-client-tools -y
yum update --skip-broken -y
yum install up2date -y

Restart the server.

shutdown -r now

The server is now an Oracle Linux server, updated with all the latest packages.

Comments

For more information see:

Hope this helps. Regards Tim...

Back to the Top.