Monday, 26 August 2013

Change Hostname on uBuntu - Quick & Easy

Here's a quick and simple four step guide to changing your computers hostname on uBuntu.

1. In the terminal enter:  

sudo gedit /etc/hostname  

2. The file should be an empty text file. Save the file with the hostname you'd like to set.

3. In the terminal enter:  

sudo /etc/init.d/hostname.sh start  

4. Reboot.

No comments:

Post a Comment