更换ubuntu apt源
以前一直使用官方源,速度较慢,尤其是通过apt-proxy,问题比较多。现在更换为lupa的源,能达到37kB。
如果在source.list中增加,比如8.04:
deb http://mirror.lupaworld.com/ubuntu hardy-backports main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu hardy main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu hardy-security main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu hardy-updates main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn hardy main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu hardy-backports main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu hardy main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu hardy-security main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu hardy-updates main restricted universe multiverse
如果是在apt-proxy-v2.conf文件,设置部分:
[ubuntu]
;; Ubuntu archive
;; backends = http://archive.ubuntu.com/ubuntu
backends = http://mirror.lupaworld.com/ubuntu
min_refresh_delay = 15m[ubuntu-security]
;; Ubuntu security updates
;; backends = http://security.ubuntu.com/ubuntu
backends = http://mirror.lupaworld.com/ubuntu
min_refresh_delay = 1m[backports.org]
;; backports.org
;backends = http://backports.org/debian
backends = http://mirror.lupaworld.com/ubuntu
这篇文章上的评论的 RSS feed TrackBack URI