Centos7 修改hostname的方式

1.手动,重起后清除  Hostnamectl set-hostname two

2.修改配置文件  vim  /etc/hostname   

 

posted @ 2019-06-21 08:42  聂忠乐  阅读(2646)  评论(0编辑  收藏  举报