配置 apt-get 的代理
# apt 的配置文件
vi /etc/apt/apt.conf
在配置文件中添加:
Acquire::http::Proxy "http://127.0.0.1:8087";
当然也可以使用 ftp http https socks 的代理方式。
# apt 的配置文件
vi /etc/apt/apt.conf
在配置文件中添加:
Acquire::http::Proxy "http://127.0.0.1:8087";
当然也可以使用 ftp http https socks 的代理方式。