Ubuntu下安装dnsmasq,命令: sudo apt-get install dnsmasq编辑dnsmasq的配置文件,命令: sudo gedit /etc/dnsmasq.conf找到下面这一项:#resolv-file=用下面的一条语句替换:resolv-file=/etc/resolv.dnsmasq.conf然后执行命令,以/etc/resolv.conf的副本创建resolv.dnsmasq.conf:sudo cp /etc/resolv.conf /etc/resolv.dnsmasq.conf然后编辑resolv.conf,命令:sudo gedit /etc/resolv.conf将其中的域名服务器全部注释掉,加入以下这行nameserver 127.0.0.1保存,退出。执行以下命令:sudo gedit /etc/ppp/peers/wvdial在 usepeerdns 前面增加 # ,也就是把这条语句覆盖掉。以防resolv.conf的设置被pppoe覆盖。重启。Ubuntu环境下安装“星际译王”提示“缺少Libgucharmap6依赖”解决方法Ubuntu 9.10 SMPlayer with CoreAVC 2.0 win32Codecs 2010相关资讯 ubuntu安装
- Linux系统教程:如何通过代理服务 (03月17日)
- MacBook Air 安装 Ubuntu 双系统 (01/27/2015 16:21:32)
- Ubuntu 12.04中安装Qt SDK 1.2.1图 (11/24/2012 13:19:21)
| - Linux系统入门教程: 当使用代理服 (11/08/2015 09:04:46)
- Ubuntu安装到移动硬盘 & grub (02/05/2014 19:52:51)
- Ubuntu 下安装字体的方法 (07/12/2012 08:56:50)
|
本文评论 查看全部评论 (0)