首页 > 技术文章 > Linux-修改主机名规范
mirrorlake 2017-09-01 00:21 原文
1)命令hostname
2)/etc/sysconfig/network中修改
3)/etc/hosts 和127.0.0.1对应,还回解析