Linked by Thom Holwerda on Thu 4th Jan 2007 21:05 UTC, submitted by falko
Debian and its clones "This tutorial shows how to create a Debian/Ubuntu mirror for your local network with the tool apt-mirror. Having a local Debian/Ubuntu mirror is good if you have to install multiple systems in your local network because then all needed packages can be downloaded over the fast LAN connection, thus saving your internet bandwidth."
E-mail Print r 1   7 Comment(s)
Order by: Score:
ftp
by evert (3.76) on Thu 4th Jan 2007 21:30 UTC
evert
Member since:
2005-07-06
Fans: 0

who needs apt-mirror if one can just sync over ftp (for example, with rsync) and set up your own debian ftp source?

RE: ftp
by acobar (3.6) on Thu 4th Jan 2007 22:07 UTC in reply to "ftp"
acobar Member since:
2005-11-15
Fans: 0

Perhaps someone managing a local network where the computers have slight different package selections?

RE: ftp
by saxiyn (3.04) on Fri 5th Jan 2007 00:56 UTC in reply to "ftp"
saxiyn Member since:
2005-07-08
Fans: 0

apt-mirror takes care of repository consistency while mirroring. This may be important or not depending on your needs.

Debian repository contains data (packages) and metadata (ex. what packages are available). If you mirror metadata first, APT will try to download packages not yet mirrored and fail.

For other benefits, why don't you look at apt-mirror's homepage yourself.

Another alternative
by amadensor (3.85) on Thu 4th Jan 2007 23:16 UTC
amadensor
Member since:
2006-04-10
Fans: 0

Another nice alternative if your only goal is improve speed and reduce bandwidth is to not build a whole mirror, but simply use a caching HTTP proxy. Apt will run across HTTP, and Squid takes almost no time to set up.

I have used this for an install party with a line not really big enough for everyone.

RE: Another alternative
by skx2 (1.8) on Fri 5th Jan 2007 16:33 UTC in reply to "Another alternative"
skx2 Member since:
2005-07-06
Fans: 1

Indeed and there are even apt-get specific proxies which can be used.

"approx" and "apt-proxy". The latter of which I wrote about here:

http://www.debian-administration.org/articles/338

Steve

apt-cacher
by taskovskig (1.5) on Fri 5th Jan 2007 06:21 UTC
taskovskig
Member since:
2006-09-03
Fans: 0

I use apt-cacher in the company I work and its great.

Save bandwith with LZMA?
by Gurkan (1.25) on Fri 5th Jan 2007 16:39 UTC
Gurkan
Member since:
2007-01-05
Fans: 0

You can save much more bandwith with lzma compressed debian packages (instead of gzip), here's the details:
http://www.linuks.mine.nu/sizematters/

Well who runs such a mirror? I do, for sid and i386 main. How does it work? Just put this line in /etc/sources.list and run apt-get update:

deb http://gnu.ethz.ch/debian-lzma/ sid main