PDA

View Full Version : [ubuntu] Own apt-get server



Krisken
September 10th, 2009, 04:16 PM
Dear,

I do have some servers of my own, all using ubuntu.
Just to be curious, is it possible to set up my own apt-get server? And if so, is there any how-to?

Kris

MJWitter
September 10th, 2009, 04:42 PM
You might like to take a look at apt-cacher-ng. You can install it on one server and then direct the others to it and it will keep all the packages it downloads, so each will only need to be downloaded once. This is great for saving time and bandwidth.

How to (http://ubuntuforums.org/showthread.php?t=981085), although it is available in the repository, so you can skip the install part if you prefer.

If you would like the whole repository(something like 50GB of data) I believe there is something called apt-mirror?

i.r.id10t
September 10th, 2009, 05:50 PM
If you would like the whole repository(something like 50GB of data) I believe there is something called apt-mirror?

Yes, apt-mirror is what you want, and yes, it takes a good bit of disk space. I'm mirroring Ubuntu Jaunty and Debian Lenny on a 80gb disk w/ a minimal Debian install to host it all.