CentOS7修改服务器主机名方法

 

hostnamectl set-hostname <hostname>

 

退出重新ssh或login后生效。

posted on 2016-09-06 17:34  傻子才悲伤  阅读(211)  评论(0)    收藏  举报

导航