[CentOS] Changing Host Name

Harry Sukumar harry.sukumar at qut.edu.au
Fri Jul 8 00:43:07 UTC 2011


Hi John,

You have to also change this file

/etc/sysconfig/network

in the HOSTNAME field change it to your desired name

Regards

Harry Sukumar


  .-.
  /v\   L   I   N   U   X
 // \\ >Phear the Penguin<
/(   )\
 ^^-^^


John J. Boyer wrote:
> Thanks to all of you who are answering my dumb questions about my new 
> CentOS instgallation. 
> 
> I modified /etc/hosts, as the hostname man page seemed to suggest, and 
> rebooted. The hostname is still localhost. I want to change it to 
> jjb-centos. I also want to change the domain name to abilitiessoft.com
> 
> Thanks,
> John
> 



More information about the CentOS mailing list