Hostname

From The World according to Vissie
Jump to navigation Jump to search
sudo hostname your-new-name

To set it straight away:

hostname mdmvr14s9db

You should also edit /etc/hosts and change the line which reads:

127.0.1.1     your-old-hostname