ubuntu无法用命令行下载问题


ubuntu无法用命令行下载问题(已安装ntlmaps):

如果sudo apt-get update后出现了外网ip的话说明他/etc/apt/apt.conf.d下没有proxy文件

如下:

0% [connecting to us.archive.ubuntu.com (91.189.91.15)]

解决办法:

$ sudo vi /etc/apt/apt.conf.d/proxy

Acquire::http::Proxy "http:127.0.0.1:5865/";

:wq

 

你可能感兴趣的:(ubuntu,proxy)