1.直接使用代理export http_proxy=http://yourproxyaddress:proxyport2.添加到个人设置中vi ~/.bash_profile #使用个人代理方式,如果是全局,使用 /etc/profilehttp_proxy=http://192.168.20.20:3128 # 分别指定http、https、ftp协议使用的代理服务器地址https_proxy=http://192.168.20.20:3128ftp_proxy=http://192.168.20.20:3128no_proxy=192.168.20. # 访问局域网地址(192.168.20.0/24网段)时不使用代理,可以用逗号分隔多个地址export http_proxy https_proxy ftp_proxy no_proxy
OM_HTTP_PROXY
最新推荐文章于 2024-07-09 09:06:39 发布