sudo nano /etc/hostname sudo nano /etc/hosts sudo reboot
Type the following commands: $ sudo hostname new-server-name-here