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.

How to check database size 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
For Oracle Linux 6
For Oracle Linux 5

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:

Ansible Interview Questions 5
# 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.

How to find memory used by Oracle





Leave a Reply

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