依次查看三个文件,修改正确后保存退出,重启 hostname 文件 vim /et/hostname hosts文件 vim /et/hosts hostnetwork文件 vim /etc/sysconfig/network