https://www.privoxy.org/sf-download-mirror/Sources/

1、挑选源码版本,下载,解压

2、增加用户 useradd privoxy

3、make & make install

4、配置:  /usr/local/etc/privoxy/config

https://www.privoxy.org/user-manual/config.html

forward-socks5t / 127.0.0.1:1080 .
listen-address 127.0.0.1:8118

systemctl restart privoxy

生效:

> vim /etc/profile
export http_proxy=http://127.0.0.1:8118
export https_proxy=http://127.0.0.1:8118
> source /etc/profile

也可直接 export 让临时生效

测试:

curl www.google.com

 修改 svn:

#vim ~/.subversion/servers

[global]
http-proxy-host = 127.0.0.1
http-proxy-port = 8118

 

相关文章:

  • 2022-12-23
  • 2021-06-13
  • 2022-12-23
  • 2022-12-23
  • 2021-06-13
  • 2021-11-20
  • 2021-06-24
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-08
  • 2021-12-29
  • 2022-12-23
  • 2021-05-19
  • 2021-06-02
  • 2021-06-23
相关资源
相似解决方案