hostname

Travis Riddle triddle at apfc.com
Tue Jan 6 23:44:55 UTC 2004


-----Original Message-----
From: fedora-list-admin at redhat.com
[mailto:fedora-list-admin at redhat.com]On Behalf Of Harold E Vine III
Sent: Tuesday, January 06, 2004 4:32 PM
To: fedora list
Subject: hostname


may seem a basic question, but...

i gave the command hostname foobar

when i rebooted, i was back to localhost.localdommain

how do i do this so that i can change the system name globally and make
it stay?




-- 

You will have to change it in /etc/sysconfig/network
modify the line HOSTNAME=

Also you might want to change /etc/hosts to reflect your correct hostname
add a line like:

192.168.0.x		foobar





More information about the fedora-list mailing list