我的debian 6(squeeze)源列表

转自:http://coolwinding.blog.163.com/blog/static/112240939201011294543291/

# 对于不了解sources.list文本格式的debian新手,
# 这里有一篇很好的文章:http://blog.chinaunix.net/u1/35320/showart_468461.html
# 如果你是找debian 5的源列表,就请参考另一篇文章:
# "我的debian 5(lenny)源列表"

# 下面开始……
# cd/dvd的源
#  关于Debian开机自动挂载ISO,以本地ISO作为更新源(通过fstab挂载的方法)
deb cdrom:[Debian GNU/Linux testing _Squeeze_ - Official Snapshot i386 CD Binary-1 20101227-19:42]/ squeeze main

# 这个ftp的源速度很快(将http改为ftp也可)
deb http://ftp.debian.org/debian/ squeeze main non-free contrib
deb http://ftp.debian.org/debian/ squeeze-proposed-updates main non-free contrib

#deb http://ftp.us.debian.org/debian/ squeeze main non-free contrib
#deb http://ftp.us.debian.org/debian/ squeeze-proposed-updates main non-free contrib

# 官方安全更新的源
deb http://security.debian.org/ squeeze/updates main

# 这个多媒体的源需要提前准备好额外的公钥,方法是:
# 先下载公钥 debian-multimedia-keyring ,再取得root权限,
# 最后安装该公钥文件“dpkg -i debian-multimedia-keyring_2010.12.26_all.deb”(版本号可能会不断更新)
# 更详细的请参考它的官网页面一开头的说明,地址:http://www.debian-multimedia.org/
deb http://ftp.debian-multimedia.org/ squeeze main non-free


# 这个台湾的源速度一直就很不错
deb http://debian.nctu.edu.tw/debian/ squeeze main non-free contrib
deb http://debian.nctu.edu.tw/debian/ squeeze-proposed-updates main non-free contrib

# 另一个台湾的源
#deb http://ftp.tw.debian.org/debian/ squeeze main non-free contrib
#deb http://ftp.tw.debian.org/debian/ squeeze-proposed-updates main non-free contrib
#deb http://ftp.tw.debian.org/debian-multimedia/ squeeze main non-free

# 上海交大的源
#deb http://ftp.sjtu.edu.cn/debian/ squeeze main non-free contrib
#deb http://ftp.sjtu.edu.cn/debian/ squeeze-proposed-updates main non-free contrib
#deb http://ftp.sjtu.edu.cn/debian-security/ squeeze/updates main non-free contrib

# 163的源
#deb http://mirrors.163.com/debian/ squeeze main non-free contrib
#deb http://mirrors.163.com/debian/ squeeze-proposed-updates main non-free contrib
#deb http://mirrors.163.com/debian-security/ squeeze/updates main non-free contrib


# 结束……

# 或许你看了上面这些源的格式,你自己都能够写出一些其它可能的源了。
# 还不清楚就看看一开头推荐的网址吧。

# 首先,我想说,源的设置不在于数量多;速度快,更新及时的源才应该是你考虑的。
# 所以,我在其中注释掉了很多源,因为它们的软件和更新列表其实都是差不多的。
# 你可以根据自己的网络情况,选择其中一两个源即可。
# (软件更新的源和多媒体的源还是推荐使用官方的那两个源吧)

# 另外,源设置的顺序也是有技巧的。
# 比如,上面的源分为两类,国内的和国外的。
# 那么,如果你是白天,那么就把外国的源放在前面,保存文件,之后记得apt-get update。
# 如果你是夜晚,显然,国内的源就比国外的快的多。那时,国外可是白天,服务器的高峰期。
# 这么做就是利用服务器在不同时间的负载不同,来作微调,有趣吧~

猜你喜欢

转载自greybeard.iteye.com/blog/1160716