好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

修改ubuntu sudo vi /etc/hosts需要重启网络

修改ubuntu sudo vi /etc/hosts需要重启网络

2010-05-29

Ubuntu 修改hosts - [ ubuntu ]

版权声明 :转载时请以超链接形式标明文章原始出处和作者信息及 本声明
http://mycodes.blogbus.com/logs/64628895.html

修改/etc/hosts文件,重启网络。
过程如下:
1、修改hosts
sudo gedit /etc/hosts
2、添加解析记录( . )
完整案例:127.0.0.1 localhost.localdomain localhost
简洁记录:127.0.0.1 localhost
3、保存后重启网络
sudo /etc/init.d/networking restart

查看更多关于修改ubuntu sudo vi /etc/hosts需要重启网络的详细内容...

  阅读:41次

上一篇: tw.forms install

下一篇:windows hosts path