Change computer name or hostname after installing Ubuntu 14.04
Change computer name after installing Ubuntu 14.04
The default name was set when you were installing Ubuntu. You can
easily change it to whatever you want in both Desktop & Server by
editing the hosts and hostname files. Below is how:
sudo vi /etc/hostname and sudo vi /etc/hosts and edit them one by one.
In both files, change the name to what you want and save them.Finally, restart your computer to apply the changes. |
Comments
Post a Comment