打开代理设置面板,点击:view -> Tunneling Pane
在弹出的窗口选择Forwarding Rules, 在空白处右键:add。在弹出的Forwarding Rule,Type选择“Dynamic(SOCK54/5”;Listen Port使用默认的1080。
这时浏览器就可以使用代理上网了。以FireFox为例,选项—高级—网络—设置—手动配置代理—Socks主机写127.0...
分类:
系统相关 时间:
2015-01-05 15:01:25
阅读次数:
296
今天把vps上php5.3升级到了php5.4,我采用的是nginx+php-fpm的架构,nginx通过php-fpm的socks文件来连接。 结果报错: connect() to unix:/tmp/php-cgi.sock failed (13: Permission denied) while connecting to...
分类:
Web程序 时间:
2014-12-18 15:35:53
阅读次数:
523
1、安装相关依赖包sudoapt-getbuild-deptinyproxysudoapt-getinstallflexbison2、追加如下补丁---tinyproxy-1.6.3-orig/src/grammar.y2004-08-0613:23:50.000000000-0300+++tinyproxy-1.6.3/src/grammar.y2006-07-1822:52:09.000000000-0300@@-57,6+57,9@@%tokenKW_STATPAGE%to..
分类:
系统相关 时间:
2014-12-18 15:28:55
阅读次数:
398
UVA10277 - Boastin' Red Socks(枚举+二分)
题目链接
题目大意:现在有m只红袜子,n只黑袜子,这样总袜子total = n + m;现在给你p, q,确定n和m,使得从这些袜子中取两只都是红袜子的概率等于p/q;如果没有这样的n和m满足要求输出impossible;
解题思路:m *(m
- 1) / (total *
(total - 1)...
分类:
其他好文 时间:
2014-12-13 10:53:51
阅读次数:
170
Chrome中可以使用switchtunnel插件访问socks 5代理,那么当我开始使用emacs + conkeror浏览网页的时候,我可不希望在切换到chrome访问google.经过一些尝试后,搞定。基本思路是:1. 首先用Firefox的设置UI,允许Fireforx访问本地的socks 5代理Preferences/Advanced/Network/Connection Setting...
分类:
其他好文 时间:
2014-12-07 19:12:37
阅读次数:
277
The socks proxy I created following?Proxy Using SSH Tunnel?works very well on both?Linux?and?Windows. However, when I try to configure my iPhone and iPad with iOS, I find iOS does not support ...
分类:
移动开发 时间:
2014-11-20 20:29:39
阅读次数:
293
在需要使用代理的地方添加如下code: System.getProperties().put("socksProxySet","true"); System.getProperties().put("socksProxyHost","localhost"); System.getProperties...
分类:
编程语言 时间:
2014-11-13 22:02:18
阅读次数:
132