0

代理

 2 years ago
source link: https://linuxsuren.github.io/blog/other/network/proxy/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

shadowsocks

Ubuntu sudo apt-get install shadowsocks

CentOS yum install shadowsocks

pip install shadowsocks

sudo pip install shadowsocks --upgrade

sudo sslocal -c shadowsocks.json -d start

polipo

sudo apt-get install polipo

brew install polip

安装依赖 yum install texinfo -y 然后下载源码 git clone https://github.com/jech/polipo.git 最后编译 cd polipo && make all && make install

polipo socksParentProxy=127.0.0.1:1080

配置终端的代理

HTTP_PROXY=http://127.0.0.1:8123
HTTPS_PROXY=http://127.0.0.1:8123
SOCKS_PROXY=socks5://127.0.0.1:1080
no_proxy=*.baidu.com,localhost,127.0.0.1,192.18.*.*,

export HTTP_PROXY HTTPS_PROXY no_proxy

如何给 Git 配置代理


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK