[关闭]
@hai046 2016-04-22T04:06:38.000000Z 字数 497 阅读 2180

安装polipo

polipo


922ff76a61ec64ff49cafbbe1d57b11e16398689

1,下载polipo

  1. git clone https://github.com/jech/polipo
  2. git cleckout polipo-1.1.1 #选择1.1.1版本

2,安装

  1. $ make all
  2. $ make install

3,配置/opt/polipo/config

  1. proxyAddress = "0.0.0.0" # http服务器就是本机自己
  2. proxyPort = 7777 #代理端口
  3. allowedClients = 10.174.10.234 #允许访问的ip目前是banana

4,运行代理

  1. polipo -c /opt/polipo/config daemonise=true logFile="/data/log/polipo.log"

5,设置banana全局代理

vim ~/.bash_profile

  1. http_proxy=http://10.44.201.101:7777;
  2. export http_proxy
  3. https_proxy=http://10.44.201.101:7777;
  4. export https_proxy
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注