设置代理
设置代理:
export http_proxy=http://proxyAddress:port
export https_proxy=http://proxyAddress:port取消代理设置:
unset http_proxy
unset https_proxy临时有效
1、添加代理
export http_proxy=http://proxyAddress:port
export https_proxy=http://proxyAddress:port2、查看代理
env |grep -i proxy3、清除代理
unset http_proxy
unset https_proxy