2008年10月14日

[Linux] Hostname

Step 1.
#hostname NewHostname

Step 2.
#vi /etc/sysconfig/network
HOSTNAME=NewHostname

Step 3.
#vi /etc/hosts
add a new line in the following format
IP NewHostname

沒有留言: