[CentOS] Cambiar nombre al host sin reiniciar el sistema

Sun Jan 26 15:14:26 UTC 2014
Mauricio Tavares <raubvogel at gmail.com>

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