Set up yum to get updates for RHEL5 system

To use the Red Hat repositories, make sure that you have installed the following package:

yum-rhn-plugin

and that you have registered your system against RHN:

# rhn_register

if you use a proxy, remember to specify it in the network configuration part of the assistant.

To manually set the proxy, fill /etc/sysconfig/up2date :

enableProxy=1
httpProxy=squid.example.com:3129

If the proxy requires authentication, also set these values :

enableProxyAuth=1
proxyUser=PROXYUSERNAME
proxyPassword=PROXYPASSWORD

All yum options are detailed in:

# man yum.conf

To check that your machine is registered, run:

# yum update

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.