[CentOS] Changing hostname?

mouss mouss at netoyen.net
Sat Sep 13 15:40:36 UTC 2008


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.



More information about the CentOS mailing list