Log in as root
su [Enter]
Enter password
"vi /etc/hostname"
Press "I" (insert) to enter edit mode
Modify according to requirements - note: default is newload
Write and quit file ([Esc], ":wq" [Enter])
vi /etc/hosts
Press "I" (insert) to enter edit mode
Modify according to requirements - note: default is newload
Write and quit file ([Esc], ":wq" [Enter])
Reboot machine to fully apply changes Note that any DNS registration or name server may be external to this if other machines on the network need to resolve to this name. Please consult your network administrator for this.