Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #182190
| From | Andy Smith <andy@strugglers.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: apt-cacher-ng related program and package suggestion |
| Date | 2017-06-15 05:00 +0200 |
| Message-ID | <tStaN-58B-7@gated-at.bofh.it> (permalink) |
| References | <tSmCl-X4-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hello, On Wed, Jun 14, 2017 at 09:57:50PM +0200, tuxderlinuxfuchs77@gmail.com wrote: > apt-cacher-switch add <Host1_Name> <http://<IP1>:<PORT1>> > apt-cacher-switch add <Host2_Name> <http://<IP2>:<PORT2>> > > Then at university: > apt-cacher-switch enable <Host1_Name> > > At home: > apt-cacher-switch enable <Host2_Name> > > In an environment where no cacher is on the network > apt-cacher-switch disable Seems like it would be easier to install squid-deb-proxy-client on each client machine. This listens for Avahi announcements of _apt_proxy._tcp to choose a proxy. Normally your server(s) would run package squid-deb-proxy (an install of squid customised for caching Debian packages) which takes care of announcing its presence over Avahi, but you can make your own announcements that point at your own installs of apt-cacher-ng if you like. If nothing is being announced then squid-deb-proxy-client goes direct to Debian mirrors. That way this all works without having to run any commands on the client depending on where the client machine is located. One downside is that if a broken proxy announces itself then your clients will use it, i.e. you don't have any control over whether the proxy is used or not. Cheers, Andy -- https://bitfolk.com/ -- No-nonsense VPS hosting
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
apt-cacher-ng related program and package suggestion "tuxderlinuxfuchs77@gmail.com" <tuxderlinuxfuchs77@gmail.com> - 2017-06-14 22:00 +0200
Re: apt-cacher-ng related program and package suggestion Andy Smith <andy@strugglers.net> - 2017-06-15 05:00 +0200
Re: apt-cacher-ng related program and package suggestion Yvan Masson <yvan.masson@openmailbox.org> - 2017-06-15 08:50 +0200
Re: apt-cacher-ng related program and package suggestion Yvan Masson <yvan.masson@openmailbox.org> - 2017-06-16 09:40 +0200
Re: apt-cacher-ng related program and package suggestion Dan Ritter <dsr@randomstring.org> - 2017-06-15 16:20 +0200
Re: apt-cacher-ng related program and package suggestion Darac Marjal <mailinglist@darac.org.uk> - 2017-06-15 16:30 +0200
Re: apt-cacher-ng related program and package suggestion David Wright <deblis@lionunicorn.co.uk> - 2017-06-15 16:40 +0200
Re: apt-cacher-ng related program and package suggestion "tuxderlinuxfuchs77@gmail.com" <tuxderlinuxfuchs77@gmail.com> - 2017-06-15 16:50 +0200
Re: apt-cacher-ng related program and package suggestion David Wright <deblis@lionunicorn.co.uk> - 2017-06-15 19:00 +0200
Re: apt-cacher-ng related program and package suggestion Bob Weber <bobrweber@gmail.com> - 2017-06-15 16:50 +0200
Re: apt-cacher-ng related program and package suggestion Dan Ritter <dsr@randomstring.org> - 2017-06-16 17:50 +0200
Re: apt-cacher-ng related program and package suggestion Eduard Bloch <edi@gmx.de> - 2017-06-16 17:40 +0200
csiph-web