晚上回到家,发现那只最爱睡觉的小鸡歇了。:(
看来以后还是不要谁懒觉的好
1. Config DNS server and domain name
/etc/resolv.conf:
nameserver 192.168.100.7
search pcms.utstar.com
Note:
(1) Test beds machines need to do all of the steps.
(2) R&D environment machines only need the steps marked with red words.
(3) You can also find this article in fronted /home/utstar/installation_doc/
2. If cannot get host’s name from hosts then get it from DNS
/etc/nsswitch.conf:
hosts: […]
1. Set hostname of this machine
/etc/nodename:
The new hostname of the machine, e.g. telusmmu1
2. config net interface and hosts
/etc/hostname.eri0:
The interface name, e.g. telusmmu1
Note: eri0 is interface name, if the machine has second net interface, the second hostname file should be configed, e.g.
/etc/hostname.eri1:
telusmmu1_1
3. Set hosts
/etc/hosts, e.g.:
192.168.102.14 telusmmu2
192.168.99.24 telusmmu2_1
4. This machine will not use as a router
touch /etc/notrouter
5. […]