[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Local mirroring How-To?



> From: Dennis Wicks [mailto:wix@mgssub.com]
> Sent: Thursday, March 12, 2009 11:22 AM
> Subject: Local mirroring How-To?
> 
> Greetings;
> 
> I remember there was a discussion sometime back about this
> but I can't locate it.
> 
> Here is my situation. I have six Debian/Lenny machines that
> I have to update/upgrade at various times, and some of these
> runs take hours for each system over my 768Kbs connection.
> 
> I have the space to install a local mirror of one or two
> releases of Debian so I can do updates over my local net at
> 100 Mbs and speed things up considerably.
> 
> But ... I can't find anything current about how to do that.
> 
> Does anybody have any pointers to a good, and current, set
> of directions on how to do this? Or have a cookbook that
> works for you?

You probably don't want a full mirror. They are big (last doc I saw said
60GB per architecture/version). You want something that will only
provide the packages you need/use.

I prefer apt-cacher to do this. Try this link [1] to get you started.
Yes, the guide is almost 2 years old, but it still works.

There is also apt-cacher-ng and apt-proxy. They all do the same thing;
they cache packages that run through them. If you search the list long
enough, you will find people who recommend each of these.

I prefer apt-cacher simply because it was easy to install, configure,
and I have not had problems with it. The other plus for me is that I run
Etch, Lenny, and Squeeze installs with a large mix of 32bit and 64bit
systems plus 3 releases of Ubuntu which also have 32 and 64 bit
installs. I only have one package cacher that supports all of them. My
entire cache is at 9GB.

Hope this helps.

Have fun!
~Stack~

[1]
http://www.debuntu.org/how-to-set-up-a-repository-cache-with-apt-cacher


Reply to: