centos 修改host vi /etc/hosts 添加一行 127.0.0.1 test.com /etc/rc.d/init.d/network restart 作者:zqifa 出处:https://www.l1mn.com