06 May 2014

Permanently set hostname in ubuntu

  1. Edit the file /etc/hostname
  2. Load the name set in this file
    hostname -F /etc/hostname
  3. Edit the file /etc/hosts
#1