Friday, December 12, 2008
How to change hostname in Linux
Posted on 6:26 AM by Unknown
1) Edit file /etc/sysconfig/network using your favourite editor.vi /etc/sysconfig/network2) Look for HOSTNAME=xxxxxx3) Change the xxxx to the name you wish to set for your computer. (ex:HOSTNAME=abc.com)4) Save the file and restart the network service. (ex: type service network restart in your shell)Done! You have just changed your hostname in Linux platform
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment