1、firefox下安装插件
http://autoproxy.mozdev.org/latest.xpi
2、申请ssh帐号
3、配置ssh守护程序
windows下运行myentunnel,linux、mac下运行ssh -D 端口 帐号@服务器地址
4、配置autoproxy
1、firefox下安装插件
http://autoproxy.mozdev.org/latest.xpi
2、申请ssh帐号
3、配置ssh守护程序
windows下运行myentunnel,linux、mac下运行ssh -D 端口 帐号@服务器地址
4、配置autoproxy
/etc/mysql/my.conf
[mysqld]
skip-name-resolve
/etc/ssh/sshd_config
UseDNS no
默认情况下Ubuntu中ssh、ftp、telnet等网络服务登录过慢,而redhat等的服务却很快,经查找,是/etc/nsswitch.conf中的设置问题,其中有一行:
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
改为
hosts: files [NOTFOUND=return] dns
也就是删除了mdns4相关设置,然后重启各网络服务,速度很快了,问题解决了。
nsswitch.conf是名称服务交换配置(name-service switch configuration)文件,hosts指定了如何查找dns主机,file dns是其默认值,[notfound=return]指没有找到就返回