Subject: | |
From: | |
Reply To: | |
Date: | Wed, 6 Dec 2006 08:35:57 -0600 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Michael Mansour wrote:
> Hi Nathan,
>
>> I'm running a cluster of machines and would like to set up a local
>> mirror site of the SL 4x packages. In the abstract, I assume this
>> is as straight-forward as writing a bash script which wgets all of
>> the rpms in a given "official" directory. The script then would
>> need to be run at regular intervals to keep the directory current -
>> I assume crontab is the usual choice for this scheduling? I feel
>> like there are a bunch of details to mirroring that I don't have a
>> handle on - could anyone suggest something more detailed than the
>> wiki pages?
>>
>> Is the comand for updating my local mirror as simple as,
>>
>> rsync -r rsync://rsync.scientificlinux.org/scientific/4x/i386/* /
>> data-1/scientific-linux/scientific/4x/i386/
>>
>> this command assuming that I've got a local directory, "/data-1/
>> scientific-linux/scientific/4x/i386/"
>
> Checkout Yam/mrepo (it's currently going through a name change):
>
> http://dag.wieers.com/home-made/mrepo/
>
> Simplifies this for you ten fold.
>
> Michael.
Also, we have a mirroring web page
https://www.scientificlinux.org/download/mirroring/
Just one thing, don't put the * in your rsync command, it should be
rsync -r rsync://rsync.scientificlinux.org/scientific/4x/i386/
/data-1/scientific-linux/scientific/4x/i386/
I'm not positive what the * will do, but I bet it wouldn't be what you
really want.
Troy
--
__________________________________________________
Troy Dawson [log in to unmask] (630)840-6468
Fermilab ComputingDivision/CSS CSI Group
__________________________________________________
|
|
|