首页 > 其他 > 详细

ubunt config proxy

时间:2015-07-11 16:14:29      阅读:209      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!