免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 956 | 回复: 0
打印 上一主题 下一主题

几个比较常用和速度不错的ubuntu更新源 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-10-29 15:41 |只看该作者 |倒序浏览

默认的中国源速度非常不错,为了保证源内软件的齐全,建议电信用户添加cn99或台湾大学的源,建议网通用户添加UBNTU官方或台湾大学的源。

在终端输入并运行
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup (备份当前的源列表,以便日後需要时恢复)
sudo gedit /etc/apt/sources.list (修改sources.list文件中源的列表)
弹出文本后在sources.list文件中尾部添加下列内容:
ubuntu8.10的163源为:
deb
http://mirrors.163.com/ubuntu/
intrepid main restricted universe multiverse
deb
http://mirrors.163.com/ubuntu/
intrepid-security main restricted universe multiverse
deb
http://mirrors.163.com/ubuntu/
intrepid-updates main restricted universe multiverse
deb
http://mirrors.163.com/ubuntu/
intrepid-proposed main restricted universe multiverse
deb
http://mirrors.163.com/ubuntu/
intrepid-backports main restricted universe multiverse
deb-src
http://mirrors.163.com/ubuntu/
intrepid main restricted universe multiverse
deb-src
http://mirrors.163.com/ubuntu/
intrepid-security main restricted universe multiverse
deb-src
http://mirrors.163.com/ubuntu/
intrepid-updates main restricted universe multiverse
deb-src
http://mirrors.163.com/ubuntu/
intrepid-proposed main restricted universe multiverse
deb-src
http://mirrors.163.com/ubuntu/
intrepid-backports main restricted universe multiverse
CN99
deb http://ubuntu.cn99.com/ubuntu/ intrepid main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ intrepid-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ intrepid-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-backports main restricted universe multiverse
ubuntu 8.04的163源为:
deb
http://mirrors.163.com/ubuntu/
hardy main restricted universe multiverse
deb
http://mirrors.163.com/ubuntu/
hardy-security main restricted universe multiverse
deb
http://mirrors.163.com/ubuntu/
hardy-updates main restricted universe multiverse
deb
http://mirrors.163.com/ubuntu/
hardy-proposed main restricted universe multiverse
deb
http://mirrors.163.com/ubuntu/
hardy-backports main restricted universe multiverse
deb-src
http://mirrors.163.com/ubuntu/
hardy main restricted universe multiverse
deb-src
http://mirrors.163.com/ubuntu/
hardy-security main restricted universe multiverse
deb-src
http://mirrors.163.com/ubuntu/
hardy-updates main restricted universe multiverse
deb-src
http://mirrors.163.com/ubuntu/
hardy-proposed main restricted universe multiverse
deb-src
http://mirrors.163.com/ubuntu/
hardy-backports main restricted universe multiverse
#Mirror.lupaworld.com 源更新服务器(浙江省杭州市双线服务器,网通同电信都可以用,亚洲地区官方更新服务器):
deb
http://mirror.lupaworld.com/ubuntu
gutsy main restricted universe multiverse
deb
http://mirror.lupaworld.com/ubuntu
gutsy-security main restricted universe multiverse
deb
http://mirror.lupaworld.com/ubuntu
gutsy-updates main restricted universe multiverse
deb
http://mirror.lupaworld.com/ubuntu
gutsy-backports main restricted universe multiverse
deb-src
http://mirror.lupaworld.com/ubuntu
gutsy main restricted universe multiverse
deb-src
http://mirror.lupaworld.com/ubuntu
gutsy-security main restricted universe multiverse
deb-src
http://mirror.lupaworld.com/ubuntu
gutsy-updates main restricted universe multiverse
deb-src
http://mirror.lupaworld.com/ubuntu
gutsy-backports main restricted universe multiverse
Ubuntu 官方源 推荐北方网通用户添加
deb
http://archive.ubuntu.com/ubuntu/
gutsy main restricted universe multiverse
deb
http://archive.ubuntu.com/ubuntu/
gutsy-security main restricted universe multiverse
deb
http://archive.ubuntu.com/ubuntu/
gutsy-updates main restricted universe multiverse
deb
http://archive.ubuntu.com/ubuntu/
gutsy-proposed main restricted universe multiverse
deb
http://archive.ubuntu.com/ubuntu/
gutsy-backports main restricted universe multiverse
deb-src
http://archive.ubuntu.com/ubuntu/
gutsy main restricted universe multiverse
deb-src
http://archive.ubuntu.com/ubuntu/
gutsy-security main restricted universe multiverse
deb-src
http://archive.ubuntu.com/ubuntu/
gutsy-updates main restricted universe multiverse
deb-src
http://archive.ubuntu.com/ubuntu/
gutsy-proposed main restricted universe multiverse
deb-src
http://archive.ubuntu.com/ubuntu/
gutsy-backports main restricted universe multiverse
台湾的官方源速度也相当不错,有时甚至快于内地的:
deb
http://tw.archive.ubuntu.com/ubuntu
gutsy main restricted universe multiverse
deb
http://tw.archive.ubuntu.com/ubuntu
gutsy-security main restricted universe multiverse
deb
http://tw.archive.ubuntu.com/ubuntu
gutsy-updates main restricted universe multiverse
deb
http://tw.archive.ubuntu.com/ubuntu
gutsy-backports main restricted universe multiverse
deb
http://tw.archive.ubuntu.com/ubuntu
gutsy-proposed main restricted universe multiverse
deb-src
http://tw.archive.ubuntu.com/ubuntu
gutsy main restricted universe multiverse
deb-src
http://tw.archive.ubuntu.com/ubuntu
gutsy-security main restricted universe multiverse
deb-src
http://tw.archive.ubuntu.com/ubuntu
gutsy-updates main restricted universe multiverse
deb-src
http://tw.archive.ubuntu.com/ubuntu
gutsy-backports main restricted universe multiverse
deb-src
http://tw.archive.ubuntu.com/ubuntu
gutsy-proposed main restricted universe multiverse
再加个中国电信源科技大学的源(能用速度还不 错)
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-backports main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-proposed main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-security main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-proposed main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-security main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-updates main restricted universe multiverse
防止非官方源中软件包不全的问题,请在sources.list文件中尾部添加下面这个官方源。
deb
http://archive.ubuntu.org.cn/ubuntu-cn/
feisty main restricted universe multiverse
如果没有这个源,下面安装某些软件的时候会提示找不到,比如w32codecs
然后 保存编辑好的文件,执行以下命令更新。
sudo apt-get update #这一步是更新你的源列表,换源後必须执行
(如果更新速度非常慢请更换源 sudo gedit /etc/apt/sources.list )
sudo apt-get dist-upgrade #这一步是更新软件
台湾源的测试可能会慢一些,耐心等一下,换源后一般下载速度都有几十K,上百K也很正常。~要是总是用几K的外源,Ubuntu也不可能在PRC混了~


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/103983/showart_2082102.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP