Offline Installation
The following steps need to be done for new network environment after offline installation.
-
/etc/resolv.conf, to add in more DNS server
-
/etc/sysconfig/network
NETWORKING=yes
HOSTNAME=<hostname> -
/etc/hosts
127.0.0.1 localhost.localdomain localhost <IP> <hostname> <hostname in short> Eg: 203.115.228.142 it-lodge.ywso.com it-lodge
-
/etc/sysconfig/network-scripts/ifcfg-eth0
Remove BROADCAST=192.168.0.255 and NETWORK=192.168.0.0
-
/etc/sysconfig/network-scripts/ifcfg-eth1 (if any)
-
/etc/sysconfig/iptables
-
Set correct date on both system clock and hardware clock with the following command:
Set the system clock
date MMDDhhmmYYTo set the hardware clock to the current system clock
hwclock –systohc