centos 修改host

By 水木神風 at 2017-09-12 • 0人收藏 • 2016人看过

vi /etc/hosts

添加一行

127.0.0.1 test.r.com 

/etc/rc.d/init.d/network restart


登录后方可回帖