[ubuntu-uk] Changing name of computer

Jonathon Fernyhough j.fernyhough at gmail.com
Sun Nov 15 11:49:54 GMT 2009


2009/11/15 John Matthews <jakewc2 at sky.com>:
> How do you change the name of a computer. I am running Ubuntu on a
> partition. Do I have to change it in windows, or in Ubuntu. I just
> discovered I have two computers with the same name.
>

AFAIK the only place you need to change the hostname is in the files
/etc/hostname and /etc/hosts

$ gksudo gedit /etc/hostname
$ gksudo gedit /etc/hosts

If you change the name in Windows it is only the name in Windows that
will change, and if you change the name in Linux only the name in
Linux will change.

Jonathon



More information about the ubuntu-uk mailing list