How do I change the name of my system

Asked by Humphrey van Polanen Petel

My system appears to be name "ubuntu".
I wish to give it a name more meaningful to me.
Being unix-illiterate, please help.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-nettool Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

run:

gksudo gedit /etc/hostname &

then run:

gksudo gedit /etc/hosts

with BOTH files open, change the name of the PC in both files (Case VERY sensitive). Save the new files, close both gedits and reboot.

Revision history for this message
Humphrey van Polanen Petel (hpvpp) said :
#2

Thanks actionparsnip, that solved my question.