1.7 Configuring an Oracle Linux 5 System to Use yum with ULN

If your Oracle Linux 5 system is registered with ULN, you can use yum instead of up2date to download and install packages. If you have installed a full update since Oracle Linux 5 Update 6 was released on January 20, 2010, your system should already be able to use yum with ULN.

To enable yum support:

  1. Install yum-rhn-plugin.

    # up2date --install yum-rhn-plugin
  2. If your organization uses a proxy server as an intermediary for Internet access, specify the enableProxy and httpProxy settings in /etc/sysconfig/rhn/up2date as shown in this example.

    enableProxy=1
    httpProxy=http://proxysvr.yourdom.com:3128

    If the proxy server requires authentication, additionally specify the enableProxyAuth, proxyUser, and proxyPassword settings:

    enableProxy=1
    enableProxyAuth=1
    httpProxy=http://proxysvr.yourdom.com:3128
    proxyUser=yumacc
    proxyPassword=clydenw
    Caution

    All yum users require read access to /etc/sysconfig/rhn/up2date. If this file must be world-readable, do not use a password that is the same as any user's login password, and especially not root's password.

With the plugin installed and the proxy server (if any) specified, you can immediately start to use yum instead of up2date.