centos 修改host

centos 修改host

vi /etc/hosts
添加一行
127.0.0.1 test.com
/etc/rc.d/init.d/network restart

posted on 2017-04-26 10:36  zqifa  阅读(1432)  评论(0编辑  收藏  举报

导航