星星之火,可以燎原!------------完整的ubuntu镜像源/本地源/更新源/离线升级包!制作总结!

新手涉及到的教学或入门贴,推荐新手必看,版主维护
回复
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#136

帖子 skyx » 2007-08-28 9:29

用apt-mirror 做镜像成功的人不少,我自己只做过一次,但主帖中的内容全部经过我验证的,不会有错误。

最近我取消置顶是因为其它的原因。
no security measure is worth anything if an attacker has physical access to the machine
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

#137

帖子 zhuqin_83 » 2007-08-28 10:10

高中生居然还学md5。。。什么世道阿
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#138

帖子 skyx » 2007-08-28 10:13

zhuqin_83 写了:高中生居然还学md5。。。什么世道阿
高一《代数》就有的。
no security measure is worth anything if an attacker has physical access to the machine
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

#139

帖子 zhuqin_83 » 2007-08-28 10:17

难道比我晚生的都在高中学习微积分了么?
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#140

帖子 skyx » 2007-08-28 10:19

zhuqin_83 写了:难道比我晚生的都在高中学习微积分了么?
现在高考就考导数的,楼上火星了吧?

凡是参加高中数学竞赛的,一定都学过《高数》

有些高中《复变函授》 《线性代数》《概论统计》也要学的。
no security measure is worth anything if an attacker has physical access to the machine
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

#141

帖子 zhuqin_83 » 2007-08-28 10:22

呵呵,我高考后第二年似乎就看到数学考卷上有道题要求证明导数了。

话说skyx原来是参加过奥赛的呀,失敬失敬。偶数学很菜的。
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#142

帖子 skyx » 2007-08-29 1:51

新建投票。
no security measure is worth anything if an attacker has physical access to the machine
cczj
帖子: 15
注册时间: 2006-12-19 14:36

#143

帖子 cczj » 2007-08-31 9:21

skyx 写了:
你可以查下man .应该有说明

update 就是获取源中全部可用软件的列表(依赖关系,版本,软件描述都有,维护者,发布日期等等软件信息都是有的),这三个有什么区别,可以自己望文生义一下

我没深究过,你可以看下man 或 《debian参考手册》。



MD5 校验不符,说白了就是你下载的文件有错误,重新执行apt-mirror 试下,不行可以换个源做镜像,apt-mirror 运行一会儿后停掉,再把原来ustc 目录下的全部移动或复制到这个新源所在的相应目录,接着进行mirror.

另外,你用了完整的镜像,就不要加上cn.archive.ubuntu.com ,cn.archive.ubuntu.com 比ustc的要新得多,这个服务器前阵子在欧洲,现在在哪我不知道。



md5是个比较有名的算法,我上学时,还学过的,你可以查下《计算机网络安全》理论方面的教材,上面都会有介绍的。我记得基本上就是算数上的mod 组合 互为质数,什么什么的,都是《数论》 相关的东西。。。。
谢谢skyx的解答,一直关注站内短信了,昨天把帖子全看了一遍才看到回复。
现在正在同步台湾的源,速度还可以,大约还需要2天才能mirror完,
我是大连的,如果谁需要帮忙可以站内短信联系我,呵呵。
<-----学习中,我是一个小菜鸟---->
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#144

帖子 skyx » 2007-08-31 11:28

有问题直接在这里跟帖或单独发帖就行,论坛热心人多。为了方便其他人,解决了可在这里回帖,比如:在回帖中帖个url 或直接把解决方法帖在这里。
no security measure is worth anything if an attacker has physical access to the machine
头像
kyli
帖子: 12
注册时间: 2007-08-26 13:07
来自: 广西灵山

#145

帖子 kyli » 2007-09-14 14:32

谢谢楼主,我回去研究一下!呵呵...
催心雨
帖子: 7
注册时间: 2007-09-06 13:11

#146

帖子 催心雨 » 2007-09-18 20:27

没机会跑到叔叔房间开电脑刻录,, :cry: :cry: :cry:
头像
fanhe
帖子: 2357
注册时间: 2007-03-24 23:45

#147

帖子 fanhe » 2007-09-20 12:39

请问请问,我做的镜像经常更新,那些镜像越来越大,怎样把我的镜像的旧的软件包自动删除掉?
头像
lwaterl
帖子: 379
注册时间: 2007-08-24 17:46

#148

帖子 lwaterl » 2007-10-05 16:25

请问一下下,,,,,雕的那篇文章在哪呢,没找到(观众:笨死得了.......) :em27
头像
fanhe
帖子: 2357
注册时间: 2007-03-24 23:45

#149

帖子 fanhe » 2007-10-24 14:12

fanhed@fanhed-desktop:/media/hda6/fanhed/Desktop$ sudo apt-mirror
Password:
Downloading 174 index files using 5 threads...
Begin time: Wed Oct 24 13:56:59 2007
[5]... [4]... [3]... [2]... [1]... [0]...
End time: Wed Oct 24 13:58:11 2007

Proceed indexes: [PPPPPP
gunzip: stdin: not in gzip format

gunzip: stdin: not in gzip format

gunzip: stdin: not in gzip format
PPPP
gunzip: stdin: not in gzip format
PPPPPPPPPP]

130.0 MiB will be downloaded into archive.
Downloading 49 archive files using 5 threads...
Begin time: Wed Oct 24 14:00:43 2007
[5]... [4]... [3]... [2]... [1]...

出现上述错误,是什么问题?
hellyway
帖子: 35
注册时间: 2007-06-11 21:58

#150

帖子 hellyway » 2007-10-26 11:24

skyx 写了:
buttom 写了:sudo ln -s /media/f_win/abc /var/spool/apt-mirror/mirror

好像还是写到了

/var/spool/apt-mirror/mirror

貌似可以这样,由于你可能镜像了部分,删掉没必要,如果目录没内容,应删掉

先 gksu nautilus



直接把apt-mirror目录移动到windows分区/media/f_win/abc/下

然后

代码: 全选

sudo ln -s /media/f_win/abc/apt-mirror/ /var/spool/apt-mirror
再看下/var/spool下有没有带箭头的apt-mirror图标,有应该是可以的


也可以修改mirror.list

代码: 全选

# set mirror_path $base_path/mirror 

改为

代码: 全选

set mirror_path /media/f_win/abc/ 



以上没有实践,仅供参考
不知能不能放在网络的共享盘上?
回复