Jim Perrin wrote:
On Mon, Mar 3, 2008 at 12:05 PM, Rudi Ahlers Rudi@softdux.com wrote:
Hi
I'm thinking about setting up a local / LAN respository for my CentOS, and probably other (Fedora Core) disto's, but have never done it before, so here's some questions:
If I setup a repository, can it hold different distro's / architectures & versions? Say for example, CentOS 4 (i386 & x64), CentOS 5.0 & 5.1 (i386 & x64) - will each one have it's own folder? Will it also be possible to only download the packages that are needed, instead of the whole 4GB repository from the upstream provider? I have some of the CD's or DVD's for all of the distro's, so really only need a few packages now and then, and instead of getting them from the net everytime, get them from the LAN repository?
Then, how would I do this?
Easy way to do this would be to set up mrepo from rpmforge. It does nearly all the dirty work for you.
Wow, this looks like a great script. I'm still trying to figure it out though, but does it have to download the whole repo from the remote server, or can it dynamically download only the files that I need right now?