Archive for the tag 'RHEL5'

SBDavid

Disable IPv6 in RHEL5

Disable IPv6 in RHEL5

Unless your policy or network configuration requires it, disable IPv6.

To do so, prevent the kernel module from loading by adding the following line to
/etc/modprobe.conf

install ipv6 /bin/true

Next, add or change the following lines in /etc/sysconfig/network:

NETWORKING_IPV6=no
IPV6INIT=no

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