1.To update on fly:
#hostname milliondollarserver.com
2.Write into network config file:
#vi /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=milliondollarserver.com
3.Add new hostname into /etc/hosts file:
# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 milliondollarserver.com localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
No comments:
Post a Comment