11. RedHat Configs

RedHat have their own ideas about how a machine should be configured. These are generally quite good, but obviously leads to 'local knowledge' required.

Most machine configuration happens in /etc/rc.d (or similar), and RedHat use a style that allows them to reconfigure machines from their scripts. Linux-FT from UNIFIX also has it's own scripts and parameter file mechanism, but RedHat's is clearer.

11.1 /etc/HOSTNAME
11.2 /etc/sysconfig/network
11.3 /etc/sysconfig/network-scripts/ifcfg-eth0

11.1

/etc/HOSTNAME

Slackware gets the hostname from /etc/HOSTNAME, RedHat gets it from the following shall script, and only keeps it in HOSTNAME for other apps to find.

11.2

/etc/sysconfig/network

NETWORKING=yes
HOSTNAME=trix.dircon.co.uk
DOMAINNAME=lan67
GATEWAY=192.168.67.254
GATEWAYDEV=eth0

11.3

/etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
IPADDR=192.168.67.1
NETMASK=255.255.255.0
NETWORK=192.168.67.0
BROADCAST=192.168.67.255
ONBOOT=yes

There are probably others, consult the RedHat manuals.