Nachfolgend sind sinnvolle Anpassungen an die Default-Installation von RedHat Enterprise Linux RHEL 4 dargestellt.
/etc/sysconfig/static-routes für einen 1und1 Server
host 10.255.255.1 eth0 net 0.0.0.0/0 gw 10.255.255.1 eth0
Zunächst die korrekte Uhrzeit mittels ntpdate ptbtime1.ptb.de setzen. Dann den ntpd starten.
/etc/ntp.conf
restrict default nomodify notrap noquery restrict 127.0.0.1 server ptbtime1.ptb.de server ptbtime2.ptb.de server 127.127.1.0 # local clock fudge 127.127.1.0 stratum 10 driftfile /var/lib/ntp/drift broadcastdelay 0.008 keys /etc/ntp/keys
yafc-1.1.1-1tom.4el.src.rpm (1.2M)
yafc-1.1.1-1tom.4el.x86_64.rpm (201K)
Annahme: Alle ISO Images liegen unter /instsrc, es existiert ein Verzeichnis RHEL4-U2-x86_64 mit 5 Unterverzeichnissen 1..5 in das die CDs als loop-Device gemountet werden.
Repository erstellen
cd /instsrc/RHEL4-U2-x86_64
for i in 1 2 3 4 5; do mount -o loop /instsrc/RHEL4-U2-x86_64-ES-disc${i}.iso $i; done
cd ..
createrepo RHEL4-U2-x86_64
Voraussetzungen (alle von rpmforge)
/etc/yum.repos.d/rhel4.repo
[rhel4-u2] name=RHEL 4 Update 2 baseurl=file:///instsrc/RHEL4-U2-x86_64
rpm GPG-Key importieren
rpm --import /instsrc/RHEL4-U2-x86_64/1/RPM-GPG-KEY
Vergleiche auch http://inhalt.serviert.de/wissen/linux/yum_auf_redhat_enterprise_linux_rhel4.
Benötigt für die Installation von munin werden: