Oracle Miscellaneous

Posted on Posted in Uncategorized

YUM Local

Copy Packages folder from OEL Software disk to the local destination
e.g to /u01/Packages
then copy repodata folder from OEL Software disk to /u01/repodata
and copy RPM-GPG-KEY-oracle  from OEL Software disk to /u01/Packages/
inside /etc/yum.repos.d/ create file local.repo and  wirte the following lines and delete all existing .repo files
[local]
name=local
baseurl=file:///u01/
gpgkey=file:///u01/Package/RPM-GPG-KEY-oracle
gpgcheck=0
enabled=1
Open a terminal and give the follwing comman
yum clean all
yum list all

Leave a Reply

Your email address will not be published. Required fields are marked *

5 × 6 =