1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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
répondu il y a 4 mois
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a un an
- demandé il y a 10 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans