1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
1
Hostname can be made permanent with below steps:
- Set hostname $ sudo hostnamectl set-hostname new-hostname
$ sudo vi /etc/hosts
Find the localhost string and append the new hostname.
127.0.0.1 localhost webserver.mydomain.com
Save and exit
- Confirm the change in hostname:
$ hostnamectl
Please refer: https://repost.aws/knowledge-center/linux-static-hostname-suse
con risposta 4 mesi fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 2 anni fa