Re: Squid proxy setup for caching RPMs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux