设置代理
设置代理:
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:port
2、查看代理
env |grep -i proxy
3、清除代理
unset http_proxy
unset https_proxy