メモの日々


2019年06月21日(金) [長年日記]

■ [howto][unix] CentOS 7でホスト名を変更する

CentOS 7でホスト名を変更するにはhostnamectlコマンドを使用する。

# hostnamectl set-hostname HOSTNAME