Re: Changing hostname?

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



On Sat, Sep 13, 2008 at 8:42 AM, mouss <mouss@xxxxxxxxxxx> wrote:
> mouss wrote:
>>
>> admin wrote:

>>> service network restart

>> no need to restart, just run the hostname command to set your system
>> hostname.
>
> caveat though: the hostname command won't affect already running services if
> they rely on the hostname.

Would this do?

echo newname > /proc/sys/kernel/hostname

Akemi
_______________________________________________
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