How to configure yum server in Oracle linux 5,6,7 | bigdba.com

How to configure yum server in Oracle linux 5,6,7

redhat-oracle-linux

In this article, we will learn how to congure yum server in dierent 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 congure YUM repository on Linux and this will remove installer CD or iso file dependency.


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 conguration 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

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

Comments