Debian: descubra y cambie el nombre de host
En Debian, puede ver el nombre de host y el cambio. Te mostramos paso a paso cómo hacerlo.
Mostrar nombres de host en Debian
- Abra el terminal y entrar en el campo de línea de comandos "hostname".
- El comando "hostname -f" genera el nombre de host completo sam FQDN (Nombre de dominio completo).
Debian: cambio de nombre de host - por lo que va a trabajar
Puede cambiar el nombre de host en Debian durante la operación o de forma permanente.
- Para cambiar el nombre de host durante la operación, ingrese el comando "hostname" en el terminal y el nuevo nombre después de él. El pedido es tan "newname nombre de host".
- Si desea cambiar el nombre de host de forma permanente, puede editarlo con cualquier editor. El nombre de host se encuentra en el archivo "/ etc / hostname".
- Para poder realizar el cambio de inmediato, simplemente use el script que también se ejecuta cuando se inicia el sistema. Para hacer esto, ingrese "/etc/init.d/hostname.sh" en la terminal.
¿Lo sabias? Es por eso que Linux está más extendido que Windows
Cómo actualizar Debian, se explica en el siguiente consejo práctico.