407 Proxy Authentication Required錯誤的解決辦法
如果(guǒ)你公司(sī)的網絡架構是通(tōng)過一個代理服(fú)務器上網,那麽Ubuntu在使用apt-get更新的時候會出現問題(tí)。即使你(nǐ)配置了係統範圍內的代理(lǐ)(System wide proxy server)。通常在執行apt-get update等命令的時候,會(huì)出現下麵這樣的錯誤(wù):
407 Proxy Authentication Required
很簡單,我(wǒ)們隻要更(gèng)改apt-get的配置文件就可以了,修改(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以及端口都要按照實際(jì)的修改。
這樣就可以更新係統了。
關(guān)鍵詞:Proxy
閱讀本文後(hòu)您有什(shí)麽感想? 已有 人給出評(píng)價!
- 1
- 5
- 1
- 4
- 4
- 2