A quesition about the configration of your rsync server.
于廣輝兄:
我目前正通過你的 rsync server -- mirror.dlut.edu.cn
mirror Debian 的 ftp archive.
可是當原先用來從境外 mirror debian
的 scripts (現在我的 proxy 對那些站點都不管用了, 所以只好從你這裡 mirror 了)
來 mirror 你的站點時確遇到了問題:
mirror 來的目錄錯位了, 這樣我的站點的用戶的 sources.list 需要修改
才行, 或者我在我的 script 中要多改動一些東西, 並且糟糕的是, 我是在
rsync 運行了一整天以後才從我的用戶們那裡得到這個錯誤報告的, 現在我
需要對 /home/ftp 目錄下的東西作大手術... :(
我們知道: 通常的 debian 的 ftp archive 中, debian 和 debian-non-US
通過不同的 rsync modules 提供給用戶.
所以, 我建議你採用類似下面的 /etc/rsyncd.conf
[debian]
path = /home/ftp/debian
comment = Debian GNU/Linux (binary-i386 & source)
use chroot = true
[debian-non-US]
path = /home/ftp/debian-nonus
comment = Debian GNU/Linux (Non US) (binary-i386 & source)
use chroot = true
這樣可以得到較好的通用性, 這樣不必給鏡像增添不必要的麻煩.
參考: ftp://hua.math.ustc.edu.cn/rsync_scripts/anonftpsync
ftp://hua.math.ustc.edu.cn/rsync_scripts/anonftpsync-non-US
是我用來 mirror debian 的 scripts.
對絕大多數 提供 rsync service 的 debian mirror site 使用.
當然 , 我們需要修改 RSYNC_HOST=hua.math.ustc.edu.cn 這一行來
滿足我們的實際需要..
希望你認真考慮一下..
Thanks.
Regards Su
--
To UNSUBSCRIBE, email to debian-chinese-gb-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
| This message was re-posted from debian-chinese-gb@lists.debian.org
| and converted from gb2312 to big5 by an automatic gateway.
Reply to: