1. root #> cd /etc/yum.repos.d
2. root /etc/yum-repos.d #> wget http://public-yum.oracle.com/public-yum-el5.repo
3. In an Editor open /etc/yum.repos.d/etc/public-yum-el5.repo
4. We need to make a quick edit on two feilds. "el5_u5_base" and "ol5_u5_base". The "enabled" flag needs to be changed from a '0' to a '1'. Look at the picture below.
5. Run the following command:
root /etc/yum-repos.d #>yum install oracle-linux
6. After the yum has finished all of its work we need to reboot.
root #>reboot