Linux ホスト名の変更 2015年11月3日約1分 CentOS7においてホスト名を変更するには、以下のコマンドを実行します。 $ sudo hostnamectl set-hostname <hostname>