| « HOWTO Enlarge A VMware Disk | HOWTO get a Packard Bell scanner working. » |
So for whatever reason you need to change the hostname of your Ubuntu Linux machine. For me this is usually because I am playing around with a copy of a Vmware machine and well its needs a unique name. ![]()
Follow up:
Check your host name is set to something and no errors are returned. The commands below will return the haost name with an without the domain.
Make backup copies of the two files, just in case ![]()
Sort out the /etc/hosts file so that the new name is reflected in that file
Update the hostname file so that it reflects the new name.
Once the machine has rebooted use check that the new name is set correctly
There you go all done!