Greetings,
I am new to the idea of mirroring, but I want to support CentOS by sharing some of my bandwidth. I have read over the CentOS Mirroring HowTo and set everything up as it states. However, the instructions suggest that the reader contacts the mailing list for additional instructions for using "lock files", etc.
I have Rsync working on my Windows Server 2003 box in daemon mode. Everything appear to be functional. I would assume that I can now schedule updates using "Scheduled Tasks" in place of CRON. Is this accurate?
Lastly, I would like to mirror only the i386 & i386-64bit data (including DVDs, and SRPMs). Would anyone have advice to lend for doing that?
Thank you for your assistance!
-- Ty R. Mote Assistant Director of Technology Krum Independent School District http://www.krumisd.net O: 940/482-6000x283 C: 806/290-1313 F: 940/482-9951 ty.mote@krumisd.net
Mote, Ty R. wrote:
Greetings,
I am new to the idea of mirroring, but I want to support CentOS by sharing some of my bandwidth. I have read over the CentOS Mirroring HowTo and set everything up as it states. However, the instructions suggest that the reader contacts the mailing list for additional instructions for using "lock files", etc.
why not use a CentOS machine ?
I made my own lockfiles, and I know they're not as robust as they should be, but I did it in a hurry, and so far they've worked.
#!/bin/bash if [ -f /root/rsync-scripts/centos.lockfile ] then echo "lock file exists, exiting..." exit fi #echo "creating lock file..." touch /root/rsync-scripts/centos.lockfile rsync -aqzH --partial --delete us-msync.centos.org::CentOS /home/ftp/pub/CentOS rm -f /root/rsync-scripts/centos.lockfile
~Will
Karanbir Singh wrote:
Mote, Ty R. wrote:
Greetings,
I am new to the idea of mirroring, but I want to support CentOS by sharing some of my bandwidth. I have read over the CentOS Mirroring HowTo and set everything up as it states. However, the instructions suggest that the reader contacts the mailing list for additional instructions for using "lock files", etc.
why not use a CentOS machine ?
William Dunn wrote:
I made my own lockfiles, and I know they're not as robust as they should be, but I did it in a hurry, and so far they've worked.
#!/bin/bash if [ -f /root/rsync-scripts/centos.lockfile ] then echo "lock file exists, exiting..." exit fi #echo "creating lock file..." touch /root/rsync-scripts/centos.lockfile rsync -aqzH --partial --delete us-msync.centos.org::CentOS /home/ftp/pub/CentOS rm -f /root/rsync-scripts/centos.lockfile
i dont think this is actually going to work on a win2k3 machine, without some external aid (!)
Karanbir Singh wrote:
William Dunn wrote:
I made my own lockfiles, and I know they're not as robust as they should be, but I did it in a hurry, and so far they've worked.
#!/bin/bash if [ -f /root/rsync-scripts/centos.lockfile ] then echo "lock file exists, exiting..." exit fi #echo "creating lock file..." touch /root/rsync-scripts/centos.lockfile rsync -aqzH --partial --delete us-msync.centos.org::CentOS /home/ftp/pub/CentOS rm -f /root/rsync-scripts/centos.lockfile
i dont think this is actually going to work on a win2k3 machine, without some external aid (!)
Well, you'd think someone would get around to inventing some way for email to carry a little one line tag telling you the subject of the email! It would avoid these awkward situations! Yar!
.. Can you do the same thing in perl on Windows? I know active state has been putting out some perl stuff for windows for a while....
~Will