Subscribe:

Ads 468x60px

Pages

Friday, May 6, 2011

How to setup a public YUM server for Oracle RPMs


It is very useful to install this public YUM server in our Oracle installations, either if they are Enterprise Linux, RedHat or just use RPMs.

This is an example for Enterprise Linux 5:
# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-el5.repo
Open the yum configuration file in a text editor:
vi public-yum-el5.repo
Change enabled=0 to enabled=1 from the repository you need.
Go to http://public-yum.oracle.com/ for complete instructions on other Linux versions.
Now we can try it!
yum list
yum install firefox

0 comments:

Post a Comment