mercredi 26 juin 2013

UBUNTU: HOW TO CHANGE THE COMPUTER NAME (HOSTNAME)




Change Your Computer Name (Ubuntu)
You might run into a situation that requires you to change your (hostname) computer name, either because you need it to meet a naming scheme or you’re just bored with it and want something better. By following these steps, you’ll give your computer a new identity in no time.
  1. To get started, press Ctrl – Alt – T on your keyboard to open the Terminal. Next, type the command below to open the hostname file.
  2. Type this commande into the terminal and remember that the current computer name is @aymen-Aspire-E1-571


gksu gedit /etc/hostname
3.   Then change the name to whatever you like and save the file.

4. Next, while command console is still open, type the command below to open the hosts file.
gksu gedit /etc/hosts

5. Finally, change the name shown to complete the change and save the file.

6. Close all open windows and restart your system.
After your system has restarted, it will have the new computer name.

Aucun commentaire:

Enregistrer un commentaire