绿色资源网

电脑版
提示:原网页已由神马搜索转码, 内容由www.downcc.com提供.
您的位置:首页服务器类Linux服务器→ 407 Proxy Authentication Required错误的解决办法

407 Proxy Authentication Required错误的解决办法

我要评论2012/09/05 18:06:50 来源:绿色资源网编辑:downcc.com 评论:0点击:11436次

如果你公司的网络架构是通过一个代理服务器上网,那么Ubuntu在使用apt-get更新的时候会出现问题。即使你配置了系统范围内的代理(System wide proxy server)。通常在执行apt-get update等命令的时候,会出现下面这样的错误:
 
407 Proxy Authentication Required
很简单,我们只要更改apt-get的配置文件就可以了,修改/etc/apt/apt.conf的内容:
 
$ cat /etc/apt/apt.conf  
Acquire::http::proxy "http://username:passowrd@proxy:80/";
 
Acquire::ftp::proxy "ftp://username:password@proxy:80/";
Acquire::https::proxy "https://username:password@proxy:80/";
 
username,password,proxy以及端口都要按照实际的修改。
这样就可以更新系统了。

关键词:Proxy

相关阅读

阅读本文后您有什么感想? 已有 人给出评价!

  • 1

  • 5

  • 1

  • 4

  • 4

  • 2

用户评论

热门评论

最新评论

发表评论查看所有评论(0)

昵称:
请不要评论无意义或脏话,我们所有评论会有人工审核.
字数: 0/500(您的评论需要经过审核才能显示)

相关软件

热点图文

更多+

精品软件