refer to:
https://askubuntu.com/questions/530547/proxy-does-not-work-using-sudo
sudo vim /etc/sudoers
保留这一行:
Defaults env_keep += "http_proxy https_proxy"
然后在普通用户的界面设置好http_proxy ,
然后再运行sudo命令即可。
refer to:
https://askubuntu.com/questions/530547/proxy-does-not-work-using-sudo
sudo vim /etc/sudoers
保留这一行:
Defaults env_keep += "http_proxy https_proxy"
然后在普通用户的界面设置好http_proxy ,
然后再运行sudo命令即可。