407 Proxy Authentication Required错误的解决办法
如果你公司的【gōng sī de】网【wǎng】🏗络架构是通过一个代理服务【lǐ fú wù】器上【qì shàng】🎨网【wǎng】🏗,那么✴Ubuntu在使用apt-get更新的时候会🗜出现问【chū xiàn wèn】题【tí】。即使你【jí shǐ nǐ】👁配置了系统范【xì tǒng fàn】🤖围内的代理(System wide proxy server)。通常在📨执行【zhí háng】💩apt-get update等命令📩的时候,会出现下面这【xià miàn zhè】样的错误:
407 Proxy Authentication Required
很简单,我们只👾要更改【yào gèng gǎi】😅apt-get的配置文件就可以了,修改【xiū gǎi】💋/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以及端【yǐ jí duān】口都要🎣按照实际的修【jì de xiū】改💋。
这样就可以更✉新系统了。
关键词:Proxy
阅读本文后您有什么感想? 已有 人给出评价!
- 1
- 5
- 1
- 4
- 4
- 2