Friday, October 19, 2012

How to Create OEL 5U5 Local Yum Repository from ISO

Please follow below steps to create Yum Local repository
1) Ftp Enterprise-R5-U5-Server-x86_64-dvd.iso to Newly created VM under /Oracle_Media/LINUX
2) Logon as root to the VM and navigate to /Oracle_Media/LINUX
3) mkdir -p /media/cdrom
4) mount -o loop ./Enterprise-R5-U5-Server-x86_64-dvd.iso /media/cdrom
5) cd /media/cdrom/Server/
6) rpm -Uvh createrepo-0.4.11-3.el5.noarch.rpm (IF createrepo is not Installed)
7) vi /etc/yum.repos.d/oel5u5_64bit_iso.repo (this is new file)
8) Add following to the oel5u5_64bit_iso.repo file
    name=OEL 5u5 x86_64 Bit Repository

9) rpm --import /media/cdrom/RPM-GPG-KEY-oracle
10)rpm --import /media/cdrom/RPM-GPG-KEY

Check Now By Installing Oracle-Validated Package and see how it resolves all the dependencies

yum install oracle-validated


No comments:

Post a Comment