This is Warren Kwok's Internet note pad, electronic diary, online rubbish journal, whatever you might name it ! It is an archive of my random thoughts in a chronological order. I am not good at reporting boring things and change them to lively. If you find this blog boring, sorry that it is your problem.
2006/12/16
Changing hostname of a server without reboot
I need to change the hostname of my server. This is normally done by editing /etc/hosts. However, the new hostname will not be effective or placed in memory without rebooting. Fortunately, the command "hostname new_hostname" help me to solve this problem. The purpose is to set a overriding hostname in memory until next time the server reboot. This feature reallys help system administrator a lot.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment