[CentOS] Changing hostname?

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

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.