[CentOS] Changing hostname?
mouss
mouss at netoyen.net
Sat Sep 13 15:42:55 UTC 2008
mouss wrote:
> admin wrote:
>> It's worth checking that /etc/sysconfig/network also has whatever
>> hostname you wish to use configured in it.
>>
>> To effect changes, it may be necessary to restart the network:
>>
>> service network restart
>>
>
>
> no need to restart, just run the hostname command to set your system
> hostname.
caveat though: the hostname command won't affect already running
services if they rely on the hostname.
More information about the CentOS
mailing list