Oracle Enterprise Linux Public YUM Server

Oracle Enterprise Linux (OEL) is a popular distribution for installing Oracle BI Server. Often client installs involve multiple sets of machines covering development, QA and production. One of the simple approaches to laying down the OS layer for these installs is do the plain vanilla OS install and them simply add the oracle-validated package which brings in the packages required by Oracle.

Local Repository

If you’ve got a local repository at your disposal this is particularly quick. A local repository is a single machine on your internal network that regularly gets updates to all the packages for the versions of OEL for which you’ve purchased Oracle support. Only the “network” level of support is required so this is a pretty low cost option (about $120). If you don’t have a local repository available you can take some time to build one. In exchange for some work now, you can update servers at the speed of your internal network from now on. You can find the Oracle maintained instructions here.

Static Repository

If support is not an option or not an option in your install timeframe one approach is to create a local repository based on the install media. This will require at least briefly running an http server. I’ve found this very useful when installing the first OEL OBIEE systems at a client while on a tight time schedule. You won’t get updates but all you have to do after the vanilla OS install is drop the file in the /etc/yum.repos.d directory and you are all set to start issuing yum commands.

Oracle Public YUM

So why isn’t there a BI Lab recipe for creating a repository from the install media? A while back Oracle setup a public YUM site that effectively provides the same services. So now all you need to do is point to their server. This does not require any support agreement and doesn’t provide the updates you would get with the support agreement. However it does provide you with easy access to the packages such as oracle-validated and you can use it to upgrade to the current OS version. For example for Enterprise Linux 5.x:

cd /etc/yum.repos.d

Edit the file to enable the sections you’ll need. For an OEL 5.5 64 bit install I enabled el5_u5_base, ol5_u5_base, el5_addons and el5_oracle_addons. You enable them by changing “enabled=0″ to “enabled=1″.

Verify with:

yum list


yum search oracle-validated


yum install oracle-validated

This entry was posted in Oracle Enterprise Linux. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>