[CentOS] Cambiar nombre al host sin reiniciar el sistema

Sun Jan 26 15:32:48 UTC 2014
admin at itshnik.pp.ua <admin at itshnik.pp.ua>

Aslo need restart your log daemon.

/etc/init.d/rsyslog restart

Thanks


Mauricio Tavares писал 26-01-2014 17:14:
> On Sun, Jan 26, 2014 at 10:09 AM, Always Learning 
> <centos at u62.u22.net> wrote:
>> Using: From translate.google.com
>>
>>> Rodrigo Pichiñual Norin <rodrigo.pichinual at gmail.com>
>>
>> Hello everyone:
>>
>> I want to change the name of my host, but without reboot
>>
>> 1) edit / etc / sysconfig / network
>>
>> HOSTNAME = name_hostname
>>
>       I believe that is the FQDN
>
>> 2) edit / etc / hosts
>>
>>   192.168.x.x name_hostname
>>
>>
>> I know the restart rename but my point is not to restart the
>> server.
>>
>        After you do all that, type
>
> hostname name_hostname
>
> test then by doing
>
> hostname -f
> hostname -s
>
> man hostname should provide more info.
>
>> can??
>>
>>
>> thanks
>>
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos