SCIENTIFIC-LINUX-USERS Archives

December 2006

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Michael Mansour <[log in to unmask]>
Reply To:
Michael Mansour <[log in to unmask]>
Date:
Wed, 6 Dec 2006 16:49:58 +1000
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
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.

ATOM RSS1 RSS2