Debian安装资源
转自:http://debian.linuxsir.org/main/?q=node/92
Debian 安装资源 转载请注明源自:LinuxSir.Org etony C.F.AN etony@tom.com 一. CD/DVD下载: 1.官方资源: http://www.debian.org/CD/ 2.国内资源: http://ftp.cdut.edu.cn/pub/linux/distribution/debian/ http://mirrors.cn99.com/debian-cd/ http://mirrors.geekbone.org/debian-cd/ ftp://deb.ustcsz.edu.cn/debian-cd/ http://www.cwinl.com/ ftp://218.22.45.5/ http://ftp.debian.org.cn/mirror/debian/ http://mirror.dlut.edu.cn/ 二. 添加安装源(/etc/apt/sources.list ) 格式: 1.添加本地源 本地资源目录格式: 参阅图片: http://www.linuxsir.org/bbs/attachm...achmentid=29047 2.添加网络源 网络资源目录格式: 参阅图片: http://www.linuxsir.org/bbs/attachm...achmentid=29048 三. 优化您的安装源: 1. apt-spy 方式: `apt-spy'会根据站点回应时间和带宽自动创建`sources.list'。 代码: #apt-get install apt-spy #mv sources.list sources.list.bak //backup #man apt-spy //获取详细的使用方法 #apt-spy update //更新您的镜像列表文件 /var/lib/apt-spy/mirrors.txt # apt-spy -d testing -a Asia //在亚洲区寻找速度最快的testing版镜像,并生成 sources.list文件,也可使用 -o 参数指定写入文件 注意,这是一个漫长,确实一劳永逸的过程. 2. netselect-apt方式: `netselect-apt'会创建一个更完整的`sources.list'文件,但它使用更落后的方法来选择镜像站点 代码: #apt-get install netselect-apt #mv sources.list sources.list.bak //backup #man netselect-apt //获取详细的使用方法 # netselect-apt -s testing //下载http: //www.debian.org/mirror/list-full文件,并根据其内容测试网络,生成sources.list 也可将下载http://www.debian.org/mirror/list-full手动下载到本地, 并同过参数 -i 指定 同样可以通过 -o 参数指定输出文件而不是默认的sources.list 四. 常用安装源 1. 国内安装源: 注:基于国内镜像在稳定和及时同步上可能无法保证,建议使用官方源 ftp://ftp.linuxforum.net/debian/ http://mirrors.geekbone.org/ http://debian.cn99.com/ 2. 教育网安装源 http://mirror.dlut.edu.cn/ ftp://debian.ustc.edu.cn/sources.list/ ftp://debian.ujn.edu.cn/ 几个有用的非官方安装源: 注:在您查看此文档时不能保证这些资源仍然可用,对于Debian官方无法提供的软件, 建议去软件的官方网站上查询下载方式 3. 非官方软件包查询地址: http://www.apt-get.org/search.php 1) rarewares.org -- 提供很多音频软件 代码: deb http://www.rarewares.org/debian/packages/unstable ./ 2) blackdown Java -- 这个不用说了吧 代码: deb ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/debian unstable main non-free 3) bootsplash.de -- ppracer, bootsplash stuff. 代码: deb http://debian.bootsplash.de unstable main 4) USTC 的非官方资源 代码: deb ftp://debian.ustc.edu.cn/debian-uo sid marillat rareware ustc java misc jrfonseca firefly deb-src ftp://debian.ustc.edu.cn/debian-uo sid marillat rareware ustc java misc jrfonseca firefly 5) http://debian.okey.net/上的丰富资源 代码: deb http://debian.okey.net/debian/sarge main non-free contrib deb http://debian.okey.net/debian-uo/ unstable firefly java jrfonseca marillat misc rareware ustc deb http://debian.okey.net/debian-non-US/ sarge/non-US main contrib 6) debian.linux.org.tw 提供 ttf-arphic-ukai ttf-arphic-uming 代码: deb ftp://debian.linux.org.tw/pub/apt unstable main 7) 提供realplayer,mplayer, acroreader, w32codecs, 等等 代码: deb ftp://ftp.nerim.net/debian-marillat/ unstable main deb-src ftp://ftp.nerim.net/debian-marillat/ unstable main 可以在这里找到老版的软件包 http://snapshot.debian.net/ 文档更新参阅(HTML版式,更便于阅读): http://debian.linuxsir.org/main/?q=node/92