On Mon, 2019-09-02 at 08:53 -0500, Richard Shaw wrote:
Since I have >7 Fedora installations I setup a squid proxy server
specifically for the purpose of reducing my download data since many
of the same packages are going to get downloaded over and over again.
I seem to be getting some hits (still looking for a GOOD squid
analyzer!) but not as much as I would expect. I'm no regex expert but
I tried to update the regex to pick up delta RPMS as well and may
have made a mistake...
To use a caching proxy to help with yum/dnf/packagekit, you need to
ensure that those updaters always use the same repo mirror. So you
need to configure your updater, first.
While configuring it (yum, dnf, etc) to use a particular mirror, you
can set it to always go through your proxy.
You don't have to specially configure your proxy. It'll just cache
anything going through it, unless you have some other rules to prevent
it.
That's what I used to do. I set up my /etc/yum.conf files to always
use the Linux mirror that my ISP provided, set them to use my Squid
proxy, and just set Squid up to be a caching proxy in general.
--
[tim@localhost ~]$ uname -rsvp
Linux 5.0.16-100.fc28.x86_64 #1 SMP Tue May 14 18:22:28 UTC 2019 x86_64
Boilerplate: All mail to my mailbox is automatically deleted.
There is no point trying to privately email me, I only get to see
the messages posted to the mailing list.
Linux cures Windows pains.