>>>>> On 12 Feb 2001 09:28:46 -0500, Fraser Campbell <[EMAIL PROTECTED]> said:
Fraser> Duane Powers <[EMAIL PROTECTED]> writes:
>> I have a question - I have a dozen boxen that I am maintaining,
>> all with Debian ( almost all potato - one woody) I would like to
>> save bandwidth and centralize administration by utilizing one of
>> the boxes as a apt-get source. then I can apt-get update ; apt-get
>> dist-upgrade ; done, on one box, and save all the .deb's then use
>> those .deb's for the other boxen without actually mirroring the
>> whole debian site.
Fraser> I've taken the simple route ... squid. Install squid, on all
Fraser> your boxes export the http_proxy (and/or ftp_proxy)
Fraser> environment variable. apt-get will pull everything through
Fraser> squid. The next box you upgrade will have cached .debs in
Fraser> squid. This of course doesn't save things permanently which
Fraser> may be what you want.
Fraser> Someone mentioned apt-proxy, there is also apt-move which
Fraser> will take /var/cache/apt/archives/*.deb and move them into a
Fraser> local Debian heirarchy.
Also instead of using an env var you can add this to /etc/apt/apt.conf
instead:
Acquire {
http::Proxy "http://192.168.0.1:8080";
};
Jim
--
@James LewisMoss <[EMAIL PROTECTED]> | Blessed Be!
@ http://jimdres.home.mindspring.com | Linux is kewl!
@"Argue for your limitations and sure enough, they're yours." Bach
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]