- Angu
- Messaggi : 48
Data di iscrizione : 14.04.20
Età : 51
Cambiare nome al Server
Sab Ott 10, 2020 2:52 pm
Sorgente:Edit /etc/cloud/cloud.cfg and change
preserve_hostname: false
To
preserve_hostname: true
Save and exit.
Let us see current setting just type the following command:
$ hostnamectl
Next change hostname from localhost to u1804-nixcraft, enter:
$ hostnamectl set-hostname u1804-nixcraft
Verify new changes:
$ hostnamectl
https://www.cyberciti.biz/faq/ubuntu-18-04-lts-change-hostname-permanently/
https://askubuntu.com/questions/1028633/host-name-reverts-to-old-name-after-reboot-in-18-04-lts
Permessi in questa sezione del forum:
Non puoi rispondere agli argomenti in questo forum.
|
|