>>>>> "Bill" == Bill Thoen <[email protected]> writes:

Bill> I've recently set up a new web server running CentOS 5.5 and I
Bill> wanted to change the machine name from what it was named when it
Bill> wsa built to something else.  So I set
Bill> hostname=hotspur.gisnet.local and changed the HOSTNAME= line in
Bill> /etc/sysconfig/network to HOSTNAME=hotspur.gisnet.local.

Whenever I change the hostname on a machine, I do a recursive grep on
the /etc for the old hostname.

  grep -r <oldhostname> /etc

then manually edit the places that make sense.  When the old hostname
is gone, I might even reboot to make sure any running processes get
the message.


-- 
Russell Senior, President
[email protected]
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to