1. 往/etc/apt/apt.conf.d/proxy.conf文件中添加以下内容即可,
Acquire::http::Proxy "http://user:password@proxy.server:port/";
Acquire::https::Proxy "http://user:password@proxy.server:port/";
2. 也可以修改/etc/apt/apt.conf来配置代理
1. 往/etc/apt/apt.conf.d/proxy.conf文件中添加以下内容即可,
Acquire::http::Proxy "http://user:password@proxy.server:port/";
Acquire::https::Proxy "http://user:password@proxy.server:port/";
2. 也可以修改/etc/apt/apt.conf来配置代理
Ubuntu下apt-get命令详解
三种方法-o选项# sudo apt-get...
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M