Cambiar Nombre Al Host Sin Reiniciar El Sistema
Hola a todos:
Yo quiero cambiar el nombre de mi host, pero sin reiniciar el sistema
1) edite el archivo /etc/sysconfig/network
HOSTNAME=name_hostname
2) edite /etc/hosts
192.168.x.x name_hostname
Se que al reiniciar cambia el nombre, pero mi idea es no reiniciar el server.
se puede???
gracias
4 thoughts on - Cambiar Nombre Al Host Sin Reiniciar El Sistema
Using: From translate.google.com
Hello everyone:
I want to change the name of my host, but without reboot
1) edit / etc / sysconfig / network
HOSTNAME = name_hostname
2) edit / etc / hosts
192.168.x.x name_hostname
I know the restart rename but my point is not to restart the server.
can??
thanks
I believe that is the FQDN
After you do all that, type
hostname name_hostname
test then by doing
hostname -f hostname -s
man hostname should provide more info.
Aslo need restart your log daemon.
/etc/init.d/rsyslog restart
Thanks
Mauricio Tavares писал 26-01-2014 17:14:
OK,
thank to all
2014-01-26
CentOS mailing list CentOS@CentOS.org http://lists.CentOS.org/mailman/listinfo/CentOS