How to Change Host Name on Ubuntu
Open the terminal and edit /etc/hostname and /etc/hosts. Replace all references to old host name with the new. Finally, execute the following:
martin@mico:~$sudo /etc/init.d/hostname.sh start
Leave a Comment
Open the terminal and edit /etc/hostname and /etc/hosts. Replace all references to old host name with the new. Finally, execute the following:
martin@mico:~$sudo /etc/init.d/hostname.sh start