EnderUNIX Team.


EnderUNIX tips

Mail to My Friend , Home Page

[ Linux ]

"Change hostname on Fedora Core" - Metin KAYA - (2007-05-13 01:18:10)   [37800]

To change the hostname on a Fedora Core system, firstly edit these lines in the "/etc/hosts" file:

127.0.0.1 localhost.localdomain localhost
::1 localhost.localdomain localhost

Then, in the "/etc/sysconfig/network" file, write new hostname in that line: "HOSTNAME=localhost.localdomain"

To make the changes permanent, the network service must be restarted via this command:

# service network restart

Mail to My Friend , Home Page