实战经验:Ubuntu 16.04 apt-get设置HTTP代理
作者:BlogUpdater |
时间:2018-01-08 |
浏览:3846 |
评论已关闭 条评论
新建文件/etc/apt/apt.conf.d/95proxies,添加以下内容到文件:
Acquire::http::proxy “http://UserName:Password@ProxyIP:ProxyPort/”;
Acquire::ftp::proxy “http://UserName:Password@ProxyIP:ProxyPort/”;
Acquire::https::proxy “http://UserName:Password@ProxyIP:ProxyPort/”;
如需转载,请注明来自:Topomel Box
相关推荐
- 更简洁,更优雅,但是很难看懂的代码
- Posted on 03月30日
- 使用IntelliCode轻松进行代码重构
- Posted on 09月08日
- 实战经验:使用U盘安装CentOS
- Posted on 01月07日
- 如何判断我安装了一个64位的Windows?
- Posted on 07月20日
评论已关闭。