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
Using: From translate.google.com
Rodrigo Pichiñual Norin rodrigo.pichinual@gmail.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
On Sun, Jan 26, 2014 at 10:09 AM, Always Learning centos@u62.u22.net wrote:
Using: From translate.google.com
Rodrigo Pichiñual Norin rodrigo.pichinual@gmail.com
Hello everyone:
I want to change the name of my host, but without reboot
- edit / etc / sysconfig / network
HOSTNAME = name_hostname
I believe that is the FQDN
- 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@centos.org http://lists.centos.org/mailman/listinfo/centos
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@u62.u22.net wrote:
Using: From translate.google.com
Rodrigo Pichiñual Norin rodrigo.pichinual@gmail.com
Hello everyone:
I want to change the name of my host, but without reboot
- edit / etc / sysconfig / network
HOSTNAME = name_hostname
I believe that is the FQDN
- 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@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
OK,
thank to all
2014-01-26 admin@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@u62.u22.net wrote:
Using: From translate.google.com
Rodrigo Pichiñual Norin rodrigo.pichinual@gmail.com
Hello everyone:
I want to change the name of my host, but without reboot
- edit / etc / sysconfig / network
HOSTNAME = name_hostname
I believe that is the FQDN
- 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@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos