linux-设置代理和取消代理
设置代理:
export http_proxy="http://proxy-XXXXX"
export https_proxy="https://proxy-XXXXX:"
取消代理:
unset http_proxy
unset https_proxy
如果想要使代理服务器永久生效,可以修改 /etc/profile文件 ,在profile 中添加或者删除。
每天进步一点点~~
设置代理:
export http_proxy="http://proxy-XXXXX"
export https_proxy="https://proxy-XXXXX:"
取消代理:
unset http_proxy
unset https_proxy
如果想要使代理服务器永久生效,可以修改 /etc/profile文件 ,在profile 中添加或者删除。