打开文件 /etc/hosts vi /etc/hosts
/etc/hosts
vi /etc/hosts
添加解析记录 127.0.0.1 localhost
127.0.0.1 localhost
重启网络 sudo /etc/init.d/networking restart
sudo /etc/init.d/networking restart
本文标题:Ubuntu 修改 hosts
本文链接:https://www.haomeiwen.com/subject/hywgrxtx.html
网友评论