Comments about ep 283 and package caching
Posted: Thu Jan 29, 2009 10:44 am
Hey guys.
I am listening to the show now (yeah, I am late to the party
) and thought I would post some info on the subject of caching packages for a large number of systems.
Under Debian/Ubuntu there are a few packages that will do the trick apt-mirror, apt-cacher, and apt-proxy. I am a personal fan of apt-cacher. It is easy to setup and use. You just point to the server in your /etc/apt/source.list and as apt-cacher gets requests it downloads the packages. If it already has the latest package, it sends it instead of downloading again. I have one server room with a bunch of Debian and Ubuntu systems (both are a mix of i386 and x64) and only one apt-cacher server for all of the systems; I get full network speed downloading packages off of it. Net installs of Debian with full Gnome only take 2 minutes to download all of the packages off of the apt-cacher server. I love it.
It has been a few years since I administered a Red Hat system, but when I was looking for a solution to my mirroring needs I never found a free solution that worked really well. Red Hat was willing to sell me a solution, but I didn't care for it because at the time A) it was expensive and B) It was more of a full mirror then a partial. I had no desire to host and keep in sync ~60GB of data when I had 30 nearly identical boxes that were very specialized and had only a few packages installed. So what I did was I setup one to download all the packages, then built a script to rsync the downloads across the other boxes. I still had to individually run updates, but at least they wouldn't download the packages again. Though if I had any more servers, this could have been a nightmare PITA.
Hope this helps!
~Stack~
I am listening to the show now (yeah, I am late to the party
Under Debian/Ubuntu there are a few packages that will do the trick apt-mirror, apt-cacher, and apt-proxy. I am a personal fan of apt-cacher. It is easy to setup and use. You just point to the server in your /etc/apt/source.list and as apt-cacher gets requests it downloads the packages. If it already has the latest package, it sends it instead of downloading again. I have one server room with a bunch of Debian and Ubuntu systems (both are a mix of i386 and x64) and only one apt-cacher server for all of the systems; I get full network speed downloading packages off of it. Net installs of Debian with full Gnome only take 2 minutes to download all of the packages off of the apt-cacher server. I love it.
It has been a few years since I administered a Red Hat system, but when I was looking for a solution to my mirroring needs I never found a free solution that worked really well. Red Hat was willing to sell me a solution, but I didn't care for it because at the time A) it was expensive and B) It was more of a full mirror then a partial. I had no desire to host and keep in sync ~60GB of data when I had 30 nearly identical boxes that were very specialized and had only a few packages installed. So what I did was I setup one to download all the packages, then built a script to rsync the downloads across the other boxes. I still had to individually run updates, but at least they wouldn't download the packages again. Though if I had any more servers, this could have been a nightmare PITA.
Hope this helps!
~Stack~