There are a couple of steps involved.
For example if you want to name your computer "newhostname":
1) Edit your /etc/sysconfig/network file and change localhost in the HOSTNAME= line to newhostname or whatever you want to name it.
2) Edit your /etc/hosts file to include the new hostname there. If you have a network, add it to your 192.168.whatever line, or otherwise just append it to the 127.0.0.1 line. Be sure to add both newhostname and newhostname.localhost
3) then from the command prompt you may type"
hostname newhostname
or just reboot.
HTH & have fun!
Jim Dishaw
Last edited by dishawjp; 01-15-2004 at 08:29 AM.
|