LinuxSir.Org  
| 网站首页 | 论坛帮助 |

欢迎来到LinuxSir.Org!
您还未登录,请登录后查看论坛,或者点击论坛上方的注册链接注册新账号。


发表新主题 回复
置顶的主题 精华主题  
主题工具
旧 05-09-09, 11:08 第 1 帖
eTony 帅哥
 
eTony 的头像
 
 
版主  
  注册日期: Aug 2002
  我的住址: 无泉之城
  帖子: 3,861
  精华: 51
 

标题: Debian 安装资源


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.添加本地源
本地资源目录格式:
参阅图片:

2.添加网络源
网络资源目录格式:
参阅图片:


三. 优化您的安装源:
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/debian/
http://debian.cn99.com/debian/
http://mirror.vmmatrix.net/debian/

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



原debian.okey.net和debian.okey.net/ubuntu源的域名统一改为:
debian.cnsite.org
ubuntu.cnsite.org
欢迎大家使用
上传的图像
文件类型: png apt_list1.png (6.4 KB, 12093 次查看)
文件类型: png apt_list2.png (7.3 KB, 11560 次查看)







__________________
Debian的知识库:http://debian.linuxsir.org || http://www.debsir.org

------------------
Seeking Freedom,pure Freedom!
[url]http://etony.9966.org/[/url]

此帖于 06-08-20 18:52 被 roadgo 编辑.
  eTony 当前离线   回复时引用此帖
旧 05-09-09, 11:26 第 2 帖
ssmile
 
 
 
注册会员  
  注册日期: Jan 2005
  帖子: 148
  精华: 3
 

3QU~~~~~~~~~~







__________________
阔别三年,重回Debian

http://shangweixiao.spaces.live.com/
Smile ^_^
  ssmile 当前离线   回复时引用此帖
旧 05-09-09, 11:30 第 3 帖
ltkun
 
ltkun 的头像
 
 
★☆版★主☆★  
  注册日期: Aug 2002
  我的住址: 上海
  帖子: 4,344
  精华: 4
 

补2个教育网的apt源
不过更新慢了点
ftp://ftp.sjtu.edu.cn/debian
ftp://ftp.tsinghua.edu.cn/mirror/debian/debian/







__________________
DELL XPS420 :Q6600+4Gram+8600GT+320G+ 2707……
神舟被我卖了……很舍不得

此帖于 05-09-09 11:33 被 ltkun 编辑.
  ltkun 当前离线   回复时引用此帖
旧 05-09-09, 15:02 第 4 帖
lycwinl
 
lycwinl 的头像
 
 
注册会员  
  注册日期: Dec 2002
  我的住址: 大连
  帖子: 49
  精华: 0
 

很惊讶
www.cwinl.com是我注册的名字
也出现在列表中,很高兴
这个mirror只能从教育网访问







__________________
Athon64 2800+

ATI 9550/128

512MB DDR400

180GB

Biostar NF325-A7

BenQ FP557s

Founder FG560-KD

Pioneer DVD-120A

Pioneer DVR-109B
  lycwinl 当前离线   回复时引用此帖
旧 05-09-09, 19:23 第 5 帖
aran
 
aran 的头像
 
 
注册会员  
  注册日期: Aug 2005
  帖子: 66
  精华: 0
 

hao ~~~~~~~~~~~~~~~~~~~~
  aran 当前离线   回复时引用此帖
旧 05-09-11, 01:09 第 6 帖
柏仔
 
 
 
注册会员  
  注册日期: Jun 2004
  帖子: 249
  精华: 0
 

我想问一下,用楼主其中一个源,更新的时候有下面的错误
代码:
Could not create a socket for 2001:7a8:1:5::14 (f=10 t=1 p=6) - socket (97 Address family not supported by protocol) [IP: 2001:7a8:1:5::14 21] Failed to fetch ftp://ftp.nerim.net/debian-marillat/dists/unstable/main/binary-i386/Packages.gz Could not create a socket for 2001:7a8:1:5::14 (f=10 t=1 p=6) - socket (97 Address family not supported by protocol) [IP: 2001:7a8:1:5::14 21] Failed to fetch ftp://ftp.nerim.net/debian-marillat/dists/unstable/main/binary-i386/Release Could not create a socket for 2001:7a8:1:5::14 (f=10 t=1 p=6) - socket (97 Address family not supported by protocol) [IP: 2001:7a8:1:5::14 21] Reading Package Lists... Done
我不是很明白原因,是否某些协议没有编译进内核?







__________________
C4 1.7G +HY 256M+ 威刚 512M+GF4 MX420
Ubuntu Breezy+kernel 2.6.12-9-686+Xfce 4.2.2
  柏仔 当前离线   回复时引用此帖
旧 05-09-11, 02:01 第 7 帖
nmt 帅哥
 
nmt 的头像
 
 
注册会员  
  注册日期: Oct 2004
  我的住址: 杭州
  帖子: 38
  精华: 0
 

http://mirror.6600.org
是浙大的镜像,不过只有内部网络才可以访问.







__________________
~~~~~~
  nmt 当前离线   回复时引用此帖
旧 05-09-11, 09:10 第 8 帖
柏仔
 
 
 
注册会员  
  注册日期: Jun 2004
  帖子: 249
  精华: 0
 

引用:
作者: 柏仔
我想问一下,用楼主其中一个源,更新的时候有下面的错误
代码:
Could not create a socket for 2001:7a8:1:5::14 (f=10 t=1 p=6) - socket (97 Address family not supported by protocol) [IP: 2001:7a8:1:5::14 21] Failed to fetch ftp://ftp.nerim.net/debian-marillat/dists/unstable/main/binary-i386/Packages.gz Could not create a socket for 2001:7a8:1:5::14 (f=10 t=1 p=6) - socket (97 Address family not supported by protocol) [IP: 2001:7a8:1:5::14 21] Failed to fetch ftp://ftp.nerim.net/debian-marillat/dists/unstable/main/binary-i386/Release Could not create a socket for 2001:7a8:1:5::14 (f=10 t=1 p=6) - socket (97 Address family not supported by protocol) [IP: 2001:7a8:1:5::14 21] Reading Package Lists... Done
我不是很明白原因,是否某些协议没有编译进内核?
改为http后,正常了
  柏仔 当前离线   回复时引用此帖
旧 05-09-11, 21:19 第 9 帖
linuxcpp
 
 
 
注册会员  
  注册日期: May 2004
  帖子: 1,161
  精华: 2
 

补一个教育网的
deb ftp://linux.xjtu.edu.cn
有好多iso还有别的镜像
记不想来了







__________________
COMPAQ EVO N600C
PIIIM 1.2G/512M/40G/14.1" SXGA+/ATI Radeon M6 32M
Debian Sid
GNOME 2.12/FVWM/KDE3.5.1/
  linuxcpp 当前离线   回复时引用此帖
旧 05-09-29, 18:29 第 10 帖
kk526 帅哥
 
kk526 的头像
 
 
注册会员  
  注册日期: Apr 2005
  帖子: 145
  精华: 0
 

真的没有想到
我们学校的ftp排在了第一位
哈哈
  kk526 当前离线   回复时引用此帖
旧 05-10-12, 09:42 第 11 帖
debianor
 
 
 
注册会员  
  注册日期: Oct 2005
  帖子: 254
  精华: 0
 

我的镜像源是cn99的,sources.list如下:
deb http://debian.cn99.com/debian stable main contrib non-free
deb http://debian.cn99.com/debian-non-US stable/non-US main contrib non-free
deb http://debian.cn99.com/debian-security stable/updates main contrib non-free

deb-src http://debian.cn99.com/debian stable main contrib non-free
deb-src http://debian.cn99.com/debian-non-US stable/non-US main contrib non-free

我想装个openoffice 2.0,我用的是下面的明令:
apt-get install openoffice.org2 openoffice.org2-l10n-zh-cn openoffice.org2-gnome
但是他说"无法找到软件包 openoffice.org2",这是怎么回事啊?是不是我的软件包名字不对?
  debianor 当前离线   回复时引用此帖
旧 05-10-13, 11:34 第 12 帖
homehorse
 
homehorse 的头像
 
 
注册会员  
  注册日期: Nov 2002
  我的住址: 北京---天津
  帖子: 230
  精华: 1
 

刚刚才发现,其实台湾的源速度很快,原来还真不知道。

还有,请问如果多个源都有的东西,是不是自动找最快的源 还是按照顺序来。







__________________
----------------------------------------
dell latitude c610
win2k+debian
六弦琴
----------------------------------------

此帖于 05-10-13 11:41 被 homehorse 编辑.
  homehorse 当前离线   回复时引用此帖
旧 05-10-14, 12:15 第 13 帖
eTony 帅哥
 
eTony 的头像
 
 
版主  
  注册日期: Aug 2002
  我的住址: 无泉之城
  帖子: 3,861
  精华: 51
 

引用:
作者: homehorse
刚刚才发现,其实台湾的源速度很快,原来还真不知道。

还有,请问如果多个源都有的东西,是不是自动找最快的源 还是按照顺序来。

顺序有效
  eTony 当前离线   回复时引用此帖
旧 05-10-17, 14:03 第 14 帖
tiger_sx_cn 帅哥
 
tiger_sx_cn 的头像
 
 
注册会员  
  注册日期: Oct 2005
  我的住址: 华北根据地
  帖子: 184
  精华: 0
 

开始apt-get install apt-spy时,要从那个资源站下载安装呀?
  tiger_sx_cn 当前离线   回复时引用此帖
旧 05-10-17, 14:43 第 15 帖
jamescsy
 
 
 
注册会员  
  注册日期: May 2005
  帖子: 102
  精华: 0
 

引用:
作者: tiger_sx_cn
开始apt-get install apt-spy时,要从那个资源站下载安装呀?
testing 中目前没有apt-spy,stable, 和 sid里都有,你可以选择一个安装。
我安装了stable的
apt-spy -d testing -a Asia的时候,只能搜索国内的3个官方镜像,不能测试其他地方的。
不知道是哪里的问题。
  jamescsy 当前离线   回复时引用此帖
发表新主题 回复


主题工具

发帖规则
您 [不可以] 发表新主题
您 [不可以] 回复主题
您 [不可以] 上传附件
您 [不可以] 编辑您的帖子

已 [启用] BB 代码
已 [启用] 表情符号
已 [启用] IMG 代码
已 [禁用] HTML 代码
[论坛跳转…]


所有时间均为[北京时间]。现在的时间是 08:46


Powered by vBulletin 版本 3.6.8
版权所有 ©2000 - 2012, Jelsoft Enterprises Ltd.
官方中文技术支持: vBulletin 中文
版权所有 ©2002 - 2011, LinuxSir.Org