linux终端代理设置
在本地终端上网或许需要设置代理,根据你的IP和端口设置
export http_proxy="http://192.168.1.2:10808"
export https_proxy="http://192.168.1.2:10808"
export all_proxy="socks5://192.168.1.2:10808"
与windows极为不同:
##windows写法
set http_proxy=http://192.168.1.2:10808
set https_proxy=http://192.168.1.2:10808
set all_proxy=socks5://192.168.1.2:10808
set HTTP_PROXY=http://192.168.1.2:10808
set HTTPS_PROXY=http://192.168.1.2:10808
set ALL_PROXY=socks5://192.168.1.2:10808