linux 全局代理

当前窗口代理

export http_proxy=127.0.0.1:port
export https_proxy=127.0.0.1:port

全局代理

vi ~/.bash_profile
export http_proxy=127.0.0.1:port
export https_proxy=127.0.0.1:port
source ~/.bash_profile

你可能感兴趣的:(linux 全局代理)