hostnamectl --static set-hostname <host-name> 参考资料http://www.centoscn.com/CentOS/config/2014/1031/4039.html 相关文章: