Print the network node hostname
# uname -n
localhosts.localdomain
Edit /etc/sysconfig/network
# nano /etc/sysconfig/network
1
2
3
| NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=zacker
|
Edit /etc/hosts
# nano /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 zacker
::1 localhost6.localdomain6 localhost6
# /etc/init.d/network restart
No comments:
Post a Comment