ubuntu 10.04(乌班图)教育网速度最快的源以及源更换方法与建议:
1.首先对其原来的源进行备份。执行:sudo cp /etc/apt/sources.list beifen.list
2.打开并编辑源所在文件。执行:sudo gedit /etc/apt/sources.list 或者: sudo vim /etc/apt/sources.list
3.从下面各服务器列表内容中选择一段替换文件中的所有内容保存编辑好的文件
4.依次执行以下命令更新:
sudo apt-get update
sudo apt-get dist-upgrade
[b]说明与建议:
我所在的是校园内的教育网,在安装之后更新源过程中,有以下体验在此列出以供需要者参考:
1.源的添加设置不要过多。
有的源快,有的源慢,有的源服务器内容更新少内容不足。过多的源在更新时,如果被选择上速度慢的源更新下载,那种慢的程度是让人无法忍受的。
2.选择速度快的源。
在北京教育网,经过我多次测试,速度最快的还是网易的163的源,而且服务器文件更新也最快,东西也最全。搜狐的源内容也很全面,更新速度也快,但是在教育网里速度太慢,网通和电信应该要好一些。那些大学的源教育网内访问速度或许会快一点,但是基本上内容都不够丰富,文件不全面,所以总会出现更新到一半没速度的情况。
3.设置源时,速度快的放前面,速度慢一些、更新没那么频繁的源其次,最后放上官方的源。
4.教育网内ubuntu源设置方式推荐:
首选网易163的源,然后选择一个大学(距离自己学校校园网接入线路较近的大学)的源放在其次位置,将官方的源放在最后(官方源一般速度都较慢)。
我的设置参考:
##163的,电信教育网通用
deb http://mirrors.163.com/ubuntu/ lucid main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ lucid-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ lucid-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ lucid-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ lucid-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ lucid main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ lucid-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ lucid-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ lucid-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ lucid-backports main restricted universe multiverse##中科大的源,教育网推荐
deb http://debian.ustc.edu.cn/ubuntu/ lucid main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ lucid-backports restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ lucid-proposed main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ lucid-security main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ lucid-updates main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ lucid main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-backports main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-proposed main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-security main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-updates main restricted universe multiverse######################################
# deb cdrom:[ubuntu 10.04.1 LTS _Lucid Lynx_ – Release i386 (20100816.1)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.deb http://cn.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ lucid main restricted## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ lucid-updates main restricted## N.B. software from this repository is ENTIRELY UNSUPPORTED by the ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the ubuntu security team.deb http://cn.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ lucid universe
deb http://cn.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ lucid-updates universe## N.B. software from this repository is ENTIRELY UNSUPPORTED by the ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the ubuntu
## security team.
deb http://cn.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ lucid-updates multiverse## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the ubuntu security team.
# deb http://cn.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of ubuntu, but is offered by Canonical and the
## respective vendors as a service to ubuntu users.
# deb http://archive.canonical.com/ubuntu lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partnerdeb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
deb http://archive.canonical.com/ lucid partner
ubuntu 10.04 教育网源,复制以下源地址选择更新使用即可:
##ubuntu 10.04 教育网源
##1.执行sudo cp /etc/apt/sources.list beifen.list (首先对其原有的源进行备份,以免以后想更换)
##2.执行sudo vim /etc/apt/sources.list 将会出现其源的文件 我们将内容换位以下即可,如果您对vi编辑器不懂的话可使用sudo gedit /etc/apt/sources.list
##3.从下面各服务器列表内容中选择一段替换文件中的所有内容
##保存编辑好的文件,执行以下命令更新。
## sudo apt-get update
## sudo apt-get dist-upgrade
##163的,电信教育网通用
deb http://mirrors.163.com/ubuntu/ lucid main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ lucid-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ lucid-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ lucid-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ lucid-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ lucid main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ lucid-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ lucid-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ lucid-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ lucid-backports main restricted universe multiverse
##中科大的源,教育网推荐
deb http://debian.ustc.edu.cn/ubuntu/ lucid main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ lucid-backports restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ lucid-proposed main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ lucid-security main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ lucid-updates main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ lucid main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-backports main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-proposed main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-security main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ lucid-updates main restricted universe multiverse
##清华大学ubuntu源
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ lucid main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ lucid-backports restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ lucid-proposed main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ lucid-security main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ lucid-updates main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ lucid main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ lucid-backports main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ lucid-proposed main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ lucid-security main restricted universe multiverse
##上海交大的源
deb http://ftp.sjtu.edu.cn/ubuntu/ lucid main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ lucid-backports main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ lucid-proposed main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ lucid-security main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ lucid-updates main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu-cn/ lucid main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ lucid main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ lucid-backports main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ lucid-proposed main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ lucid-security main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ lucid-updates main multiverse restricted universe
##北京交大的源,教育网
deb http://mirror.bjtu.edu.cn/ubuntu/ lucid main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ lucid-backports main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ lucid-proposed main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ lucid-security main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ lucid-updates main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ lucid main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ lucid-backports main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ lucid-proposed main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ lucid-security main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ lucid-updates main multiverse restricted universe
##成都电子科大的源,教育网推荐
deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid-backports main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid-proposed main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid-security main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ lucid-updates main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ lucid main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ lucid-backports main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ lucid-proposed main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ lucid-security main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ lucid-updates main restricted universe multiverse
##兰州大学的源,教育网
##deb ftp://mirror.lzu.edu.cn/ubuntu/ lucid main multiverse restricted universe
##deb ftp://mirror.lzu.edu.cn/ubuntu/ lucid-backports main multiverse restricted universe
##deb ftp://mirror.lzu.edu.cn/ubuntu/ lucid-proposed main multiverse restricted universe
##deb ftp://mirror.lzu.edu.cn/ubuntu/ lucid-security main multiverse restricted universe
##deb ftp://mirror.lzu.edu.cn/ubuntu/ lucid-updates main multiverse restricted universe
##deb ftp://mirror.lzu.edu.cn/ubuntu-cn/ lucid main multiverse restricted universe
##厦门大学更新服务器(教育网服务器):
##deb ftp://ubuntu.realss.cn/ubuntu/ gutsy main restricted universe multiverse
##deb ftp://ubuntu.realss.cn/ubuntu/ gutsy-backports restricted universe multiverse
##deb ftp://ubuntu.realss.cn/ubuntu/ gutsy-proposed main restricted universe multiverse
##deb ftp://ubuntu.realss.cn/ubuntu/ gutsy-security main restricted universe multiverse
##deb ftp://ubuntu.realss.cn/ubuntu/ gutsy-updates main restricted universe multiverse
##deb-src ftp://ubuntu.realss.cn/ubuntu/ gutsy main restricted universe multiverse
##deb-src ftp://ubuntu.realss.cn/ubuntu/ gutsy-backports main restricted universe multiverse
##deb-src ftp://ubuntu.realss.cn/ubuntu/ gutsy-proposed main restricted universe multiverse
##deb-src ftp://ubuntu.realss.cn/ubuntu/ gutsy-security main restricted universe multiverse
##deb-src ftp://ubuntu.realss.cn/ubuntu/ gutsy-updates main restricted universe multiverse
##中国台湾 台湾大学更新服务器(推荐网通用户使用,电信PING平均响应速度41MS。强烈推荐此源,比较完整,较少出现同步问题):
##deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy main restricted universe multiverse
##deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy main restricted universe multiverse
##deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-updates main restricted universe multiverse
##deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-updates main restricted universe multiverse
##deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-backports main restricted universe multiverse
##deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-backports main restricted universe multiverse
##deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-security main restricted universe multiverse
##deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-security main restricted universe multiverse
##deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-proposed main multiverse restricted universe
##deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ gutsy-proposed main restricted universe multiverse
##搜狐的源
##deb http://mirrors.sohu.com/ubuntu/ lucid main restricted
##deb-src http://mirrors.sohu.com/ubuntu/ lucid main restricted
##deb http://mirrors.sohu.com/ubuntu/ lucid-updates main restricted
##deb-src http://mirrors.sohu.com/ubuntu/ lucid-updates main restricted
##deb http://mirrors.sohu.com/ubuntu/ lucid universe
##deb-src http://mirrors.sohu.com/ubuntu/ lucid universe
##deb http://mirrors.sohu.com/ubuntu/ lucid-updates universe
##deb-src http://mirrors.sohu.com/ubuntu/ lucid-updates universe
##deb http://mirrors.sohu.com/ubuntu/ lucid multiverse
##deb-src http://mirrors.sohu.com/ubuntu/ lucid multiverse
##deb http://mirrors.sohu.com/ubuntu/ lucid-updates multiverse
##deb-src http://mirrors.sohu.com/ubuntu/ lucid-updates multiverse
呵呵,好文章,,,,,,,不错,
不错的文章,谢谢博主分享
50好博客,收藏了。HOHO
木木回来了,来看你了。
[reply=任侠,2010-10-04 08:56 AM]呵呵,小感动下[/reply]
博主辛苦啦挺厉害的
怎么一来就是那么一大推的代码我看不来啊
呵呵,我用了163的源
总算等到博主更新了