How to set Hostname in Ubuntu
Setting Hostname in Ubuntu 15.04 Setting hostname in your Ubuntu server is very easy. Use the following command to set/ change the hostname in you ubuntu server. Please replace hostname with name of your choice. echo “hostname” > /etc/hostname hostname -F /etc/hostname Update /etc/hosts Next, edit your /etc/hosts file to resemble the following example, replacing hostname with