- 修改 apt.conf
$ sudo gedit /etc/apt/apt.conf
- edit:
<!--more-->
Acquire::http::proxy "http://用户名:密码@172.26.100.238:64000/";
Acquire::https::proxy "https://用户名:密码@172.26.100.238:64000/";
Acquire::ftp::proxy "ftp://用户名:密码@172.26.100.238:64000/";
Acquire::socks::proxy "socks://用户名:密码@172.26.100.238:64000/";
- 注意特殊符号
如 “@” 用 “40%” 代替:
@ use %40 to display!