- Set the variable
https_proxy
to your proxy -
Edit
/etc/sudoers
or the correct file in/etc/sudoers.d/
so it contains:Defaults env_keep = https_proxy
- sudo nano /etc/apt/apt.conf.d/30proxy
add-apt-repository behind proxy
猜你喜欢
转载自feuyeux.iteye.com/blog/1832584
今日推荐
周排行