1回答
- 新しい順
- 投票が多い順
- コメントが多い順
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
回答済み 4ヶ月前
関連するコンテンツ
- AWS公式更新しました 4年前
- AWS公式更新しました 6年前