How to configure yum server in linux

In this article, we will learn how to con gure yum server in di erent Oracle Linux versions. YUM repository is a software package manager which allows you to easily install, update or delete RPMs. Most of the required RPM packages come along with the Linux installer CD. But! if you have internet connection, you can con gure YUM repository on Linux and this will remove installer CD or iso file dependency.

READ ALSO
How to check datafile utilization in Oracle

Most of the times when you want to install packages (RPMs) for Oracle products, it really becomes tough to identify and install each package. Good news is! you can connect to Yum server and get the packages at one shot!

Download and configure yum server

Download and copy the appropriate yum con guration le in place, by running the following commands as root:

cd /etc/yum.repos.d
For Oracle Linux 7
wget http://public-yum.oracle.com/public-yum-ol7.repo 
For Oracle Linux 6
wget http://public-yum.oracle.com/public-yum-ol6.repo 
For Oracle Linux 5
wget http://public-yum.oracle.com/public-yum-el5.repo




Download and install Oracle Linux

Download and install Oracle Linux and make sure your are able to connect to internet. Start using yum server with below commands:

READ ALSO
How to check biggest table in Oracle
# yum list      --> to list all the contents of yum repository
# yum install oracle-validated            --> to install oracle-valudated package
# yum install libaio-devel*                --> to install libaio-devel rpm

The oracle-validated package will install all the packages required to install Oracle Database and RAC on OEL 5.

READ ALSO
How to check database lock conflict in Oracle

 

 

 

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.