01 February 2014

Step by Step Oracle public yum server configutation

Oracle public yum server configutation

Step 1 :

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

Oracle Linux 4, Update 6 or Newer

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

Oracle Linux 5

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

Oracle Linux 6

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

Oracle VM 2

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


Step2 :

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


Step 3:

[root@muthu yum.repos.d]# yum list unixODBC
Loading "security" plugin
el5_latest                100% |=========================| 1.4 kB    00:00
primary.xml.gz            100% |=========================|  18 MB    00:06
el5_latest: ################################################## 12671/12671
Installed Packages
unixODBC.x86_64                          2.2.11-7.1             installed
unixODBC.i386                            2.2.11-7.1             installed
Available Packages
unixODBC.x86_64                          2.2.11-10.el5          el5_latest
unixODBC.i386                            2.2.11-10.el5          el5_latest
[root@muthu yum.repos.d]#

No comments: