Edit betwork :
# sudo nano /etc/sysconfig/network
edit this line :
HOSTNAME=myserver.kusdi.com
edit host :
#vim /etc/hosts
add a line after localhost :
127.0.0.1 localhost.localdomain localhost
192.9.19.1 myserver.kusdi.com myserver
run hostname :
#hostname myserver.kusdi.com
#hostname
myserver.kusdi.com
Restart Networking
#/etc/init.d/network restart
No comments:
Post a Comment