Change hostname on Fedora Core
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
No comments:
Post a Comment