[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sarge 的i386 本地镜像



这个比那些发行光盘的优势在于可以更新。

在 2005年5月6日 星期五 21:13,liushiwei 写道:
> 本来这个应该用bash来完成,
> 但还是用php比较顺手一点,就用php做了一个脚本
> ftp://debian.anheng.com.cn/debian_lt/debian_lt.php
> 脚本检查Packages文件,从完整的镜像目录筛选出 sarge的i386的bin的deb包,
> 然后比较以前的目标目录,只对变化过的文件进行删除或复制操作。
>
> 完成的一个发布镜像,大约9G, 比较适合放进笔记本或活动硬盘。
>
> 通过修改anonftpsync来做的,要20G, 有点太大。
>
> php脚本在ftp://debian.anheng.com.cn/debian_lt/debian_lt.php,
> 这个脚本的运行需要在本地有完整的镜像,当然通过修改也可以实现远程抓取。
> 或者如果目标镜像跟源镜像在同一个卷,可以把目标文件做成硬联接
>
> 做好的i386二进制only镜像如下,
> rsync://debian.anheng.com.cn/debian_lt main non-free contrib
> http://debian.anheng.com.cn/debian_lt main non-free contrib
> ftp://debian.anheng.com.cn/debian_lt main non-free contrib
> 体积9.2G

Reply to: