apt-get通过http代理连接网络

编辑/etc/apt/apt.conf加入下面这行:

Acquire::http::Proxy "http://web-proxy.oa.com:8080";
按照你的http服务器的地址做相应修改

Leave a Reply

Your email address will not be published. Required fields are marked *