Re: Changing Host Name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, 7 Jul 2011 12:06:31 PM 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

Hi John,

Hostname will need to be changed under /etc/sysconfig/network to be retained 
upon startup. The hostname command should change the hostname immediately 
iirc.

Cheers,

Andy
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux