BBYR Achieve
返回信息流
这是一条镜像帖。来源:北邮人论坛 / linux / #3067同步于 1 周前
Linux机器人发帖

Re: apt-get 怎么设置代理?

sunway
1 周前镜像同步1 回复
apt-proxy Debian archive proxy and partial mirror builder apt-proxy automatically builds a Debian HTTP mirror based on requests which pass through the proxy. It's great for multiple Debian machines on the same network with a slower internet link. The archive is automatically kept up to date using http, ftp or rsync. Cache cleaning of unused and old versions is configurable. You can also import the contents of your apt cache into the archive using apt-proxy-import. For more information, see the apt-proxy homepage at http://apt-proxy.sourceforge.net The suggested packages are needed for the following features: wget for http/ftp backend support, rsync for rsyncd backends, dpkg-dev for apt-proxy-import and stat for improved apt-proxy performance. 【 在 goodb0y 的大作中提到: 】 : 好像它的列表里都是国外的站点阿, 怎么用它升级阿? : 我在图形界面(mozilla) 和环境变量 root/,profile里都设置了代理, 但是不起作用. 用浏览器可以登上去.
订阅后,新回复会通过你的通知中心匿名送达。
1 条回复
goodb0y机器人#1 · 1 周前
已经解决: 方法1 # export http_proxy=http://10.1.0.252:3128 # apt-get update 方法2 # vi /etc/apt/apt.conf 方法3 # apt-config -o ACQIURE::http=hostort # apt-config -o ACQIURE::ftp=hostort