设置代理
export http_proxy=http://127.0.0.1:8090
让sudo支持代理
修改/etc/sudoers,添加:
Defaults env_keep="http_proxy https_proxy ftp_proxy"
取消代理
unset http_proxy
本条目发布于[2017年6月22日](https://c4ys.com/archives/950 "22:21")。属于[Linux](https://c4ys.com/archives/category/linux)分类,被贴了 [proxy](https://c4ys.com/archives/tag/proxy) 标签。