Search This Blog

Tuesday, July 12, 2011

Yum Configuration With OEL

Refer to the URL , http://public-yum.oracle.com/ for more details on this.

1.Download and Install Oracle Linux

2. Download and copy the appropriate yum configuration file in place, by running the following commands as root:

Oracle Linux 5

# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-el5.repo

Enable the appropriate repository by editing the yum configuration file

    Open the yum configuration file in a text editor
    Locate the section in the file for the repository you plan to update from, e.g. [el4_u6_base]
    Change enabled=0 to enabled=1

Begin using yum, for example:

yum list

yum install firefox


After this install the oracle-validated package this will install the necessary packages and sets the kernel parameters
and also creates oracle user etc.

yum install oracle-validated

2 comments:

Vishwa said...
This comment has been removed by the author.
Vishwa said...

Nice Post .. it helped me solve #yum install updates issues. Thanks Vishwa