Re: hi i wanna to add mirror list...
Marcus Popp <[email protected]>
| Newsgroups | gmane.os.openbsd.www |
|---|---|
| Message-ID | <[email protected]> |
Hi, On 2006-12-05T11:05, nthroot wrote: > hi... > > nice to meet you... > > i'm operator of mirror http://mirrors.gamevil.com > > and..i wanna to make the mirror of OpenBSD of Rebpulic of Korea(Seoul City) > > how can i make it.. ? first read http://mirror.paranoidbsd.org/ftp.html (at the bottom). I recommend using rsync with a second level mirror of your choice. Please ask the upstream maintainer if you could use him as upstream. Furthermore ensure that your mirror is updated once a day! After you have done that, come back. Thanks & so long, Marcus. P.S. I use the following code to sync my mirror: #!/bin/ksh VERSION=2 umask 022 MIRROR_DIR="/var/www/htdocs/mirror/pub/OpenBSD" HTTP_SOURCE='rsync://<enter your upstream mirror here>/pub/OpenBSD' HTTP_DIRS='?.? OpenBGPD OpenNTPD OpenSSH patches tools doc' RSYNC_OPT="--recursive --times --links --quiet --delete" echo "start: $(date +%FT%T%z)" mkdir -p "$MIRROR_DIR" for DIR in $HTTP_DIRS; do echo " mirror: $DIR" nice -n 10 rsync $RSYNC_OPT $HTTP_SOURCE/$DIR $MIRROR_DIR done echo "end: $(date +%FT%T%z)" #EOF