Linux代理配置查看
查看当前是否有代理配置
env | grep -i proxy
# 如果有内容的话,可以使用unset去除
unset http_proxy
unset https_proxy
unset all_proxy
添加代理的方式
export http_proxy=http://127.0.0.1
export https_proxy=http://127.0.0.1
export all_proxy=http://127.0.0.1
env | grep -i proxy
# 如果有内容的话,可以使用unset去除
unset http_proxy
unset https_proxy
unset all_proxy
export http_proxy=http://127.0.0.1
export https_proxy=http://127.0.0.1
export all_proxy=http://127.0.0.1