Configure your server for Yum (Yellowdog Updater Modified):
There’s no more need to look for CDs from your pile of CDs or from the clutter of your desk. Earlier in 2009, Oracle launched their public yum server which offers a free and convenient way to install packages from the Enterprise Linux and Oracle VM. Obviously, the Yum server if offered without support.
We will show you how to setup your Red Hat or Oracle Enterprise Linux to use Oracle’s public Yum repository. In this example, we only focus on 64-bit Red Hat 5 Update 3.
view sourceprint? 01 [root@rac01 ~]# cd /etc/yum.repos.d/
07 Connecting to public-yum.oracle.com|141.146.44.34|:80... connected.
08 HTTP request sent, awaiting response... 200 OK
09 Length: 1402 (1.4K) [text/plain]
10 Saving to: `public-yum-el5.repo'
11
12 100%[=========================================================>] 1,402 --.-K/s in 0s
13
14 11:27:04 (83.6 MB/s) - `public-yum-el5.repo' saved [1402/1402] Edit the file public-yum-el5.repo with your choice of editor such as vi. Change enabled=0 to enabled=1 for the following sections since we are on RH5 U3
Portions of your yum.repos.d file should look something like this:
view sourceprint? 01 [el5_u3_base]
02 name=Enterprise Linux $releasever U3 - $basearch - base