标签:port etc xxx lob tps proxy 添加 https UI
1、apt-get的proxy
新建/etc/apt/apt.conf.d目录下新建10proxy文件,添加:
Acquire::http::proxy"http://xx.xx.xx.xx:xxxx";
Acquire::https::proxy"https://xx.xx.xx.xx:xxxx";
2、pip的proxy
创建/ubuntu/.pip/pip.conf文件
[global]
trusted-host=pypi.python.org
index-url=http://pypi.python.org/simple
proxy=http://proxyIp:port
标签:port etc xxx lob tps proxy 添加 https UI
原文地址:http://www.cnblogs.com/peterinblog/p/7305944.html