码迷,mamicode.com
首页 > 其他好文 > 详细

ubunt config proxy

时间:2015-07-11 16:17:32      阅读:140      评论:0      收藏:0      [点我收藏+]

标签:

   

 /etc/environment 中添加以下内容,就可以为系统制定全局的 http 代理

http_proxy="http://127.0.0.1:8087"

https_proxy="http://127.0.0.1:8087"

These programs will not obey the environment variables either. Create a file called 95proxies in/etc/apt/apt.conf.d/, and include the following:

    Acquire::http::proxy "http://myproxy.server.com:8080/";
    Acquire::ftp::proxy "ftp://myproxy.server.com:8080/";
    Acquire::https::proxy "https://myproxy.server.com:8080/";

 

ubunt config proxy

标签:

原文地址:http://www.cnblogs.com/anjuncc/p/4638658.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!