Re: Really changing the hostname

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



On 02/14/2013 01:11 PM, Robert Moskowitz wrote:
> I need to change the host name on a test server, and in the past when I
> used hostname to change the hostname, it did not seem to change it
> everywhere.
>
> I really don't want to do a rebuild just yet, but I have to feel
> confident that hostname is really changed (reboot is not too much of an
> issue).
>
> What is the recommened practice?  Other than get it right the first time.

To make the change permanent, edit /etc/ssyconfig/network and set the 
desired hostname after HOSTNAME=.

-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without 
access to education?
_______________________________________________
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