Replies: 1 comment
-
APT配置代理前提条件:unbuntu上已经安装了cntlm代理服务。 sudo nano /etc/apt/apt.conf,编辑内容如下:
如果使用add-apt-repository命令,则在命令前面增加-E选项,则可以使用到代理: 例如:sudo -E add-apt-repository "xxxxx" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
export http_proxy="http://username:password@proxyServer:port"
export https_proxy="http://username:password@proxyServer:port"
密码中特殊字符需要替换
Beta Was this translation helpful? Give feedback.
All reactions