[CentOS] Changing hostname?

John R Pierce pierce at hogranch.com
Sat Sep 13 06:43:59 UTC 2008


kapil singh wrote:
> Hello,
>
> you can do it  from here.
> go through                 System >> Network >> Hosts
>
> edit host name from here.

or, edit /etc/sysconfig/network and set ....

    HOSTNAME=whateverfqdn.com 

since I never even start any GUI on my servers, I find this much more 
useful.





More information about the CentOS mailing list