Some Socks5 Proxy setting
Git
1 2 3 4
| git config --global http.proxy socks5://127.0.0.1:1080 git config --global https.proxy socks5://127.0.0.1:1080 git config --global --unset http.proxy git config --global --unset https.proxy
|
Curl
.curlrc1
| echo 'socks5 = "127.0.0.1:1080"' >> ~/.curlrc
|
1
| export ALL_PROXY=socks5://127.0.0.1:1080
|
Wget
EVN Config1 2
| xport http_proxy=http://127.0.0.1:1080 xport http_proxy=httpS://127.0.0.1:1080
|
.wgetrc
~/.wgetrc1 2 3 4 5 6
| https_proxy = http://127.0.0.1:8087/ http_proxy = http://127.0.0.1:8087/ ftp_proxy = http://127.0.0.1:8087/
use_proxy = on
|
-e
1
| wget -c -r -np -k -L -p -e "http_proxy=http://127.0.0.1:1080" url
|
Pip
1
| sudo pacman -S proxychains
|
- vim /etc/proxychains.conf
/etc/proxychains.conf1 2
| [ProxyList] socks5 127.0.0.1 1080
|
1
| proxychains pip install <package_name>
|
参考