Re: Squid proxy setup for caching RPMs

2019-09-05 Thread Tim via users
On Mon, 2019-09-02 at 13:24 -0700, Samuel Sieb wrote: > The bigger problem is that most mirrors default to using https which > you can't cache with a proxy. Pick a mirror that doesn't use HTTPS. -- [tim@localhost ~]$ uname -rsvp Linux 5.0.16-100.fc28.x86_64 #1 SMP Tue May 14 18:22:28 UTC 2019 x8

Re: Squid proxy setup for caching RPMs

2019-09-04 Thread Samuel Sieb
On 9/4/19 11:42 AM, stan via users wrote: A hack you might consider if the computers can exchange files. On one machine, the machine that will get the packages, turn off the switch that deletes packages after install in /etc/dnf/dnf.conf. Then, use rsync to put those packages in the appropriate

Re: Squid proxy setup for caching RPMs

2019-09-04 Thread stan via users
On Wed, 4 Sep 2019 09:51:58 -0500 Richard Shaw wrote: > On Mon, Sep 2, 2019 at 3:26 PM Samuel Sieb wrote: > > > On 9/2/19 8:51 AM, Richard Shaw wrote: > > > \/fedora\/linux\/releases\/([0-9]+)\/Everything/x86_64\/(.*)$ > > > http://repo.mirrors.squid.internal/fedora/releases/$1/$2 > > > \/fed

Re: Squid proxy setup for caching RPMs

2019-09-04 Thread Richard Shaw
On Wed, Sep 4, 2019 at 10:16 AM Ted Roche wrote: > Would this be a good use for a local private mirror? > > > https://fedoraproject.org/wiki/Infrastructure/Mirroring#How_can_someone_make_a_private_mirror.3F > It looked like you have some ability to control what gets mirrored but for the most par

Re: Squid proxy setup for caching RPMs

2019-09-04 Thread Ted Roche
Would this be a good use for a local private mirror? https://fedoraproject.org/wiki/Infrastructure/Mirroring#How_can_someone_make_a_private_mirror.3F On Mon, Sep 2, 2019 at 9:54 AM Richard Shaw wrote: > Since I have >7 Fedora installations I setup a squid proxy server > specifically for the pu

Re: Squid proxy setup for caching RPMs

2019-09-04 Thread Richard Shaw
On Mon, Sep 2, 2019 at 3:26 PM Samuel Sieb wrote: > On 9/2/19 8:51 AM, Richard Shaw wrote: > > \/fedora\/linux\/releases\/([0-9]+)\/Everything/x86_64\/(.*)$ > > http://repo.mirrors.squid.internal/fedora/releases/$1/$2 > > \/fedora\/linux\/updates\/([0-9]+)\/x86_64\/(.*)$ > > http://repo.mirrors.s

Re: Squid proxy setup for caching RPMs

2019-09-02 Thread Samuel Sieb
On 9/2/19 8:51 AM, Richard Shaw wrote: \/fedora\/linux\/releases\/([0-9]+)\/Everything/x86_64\/(.*)$ http://repo.mirrors.squid.internal/fedora/releases/$1/$2 \/fedora\/linux\/updates\/([0-9]+)\/x86_64\/(.*)$ http://repo.mirrors.squid.internal/fedora/updates/$1/$2 There's got to be a proper and

Re: Squid proxy setup for caching RPMs

2019-09-02 Thread Richard Shaw
On Mon, Sep 2, 2019 at 9:29 AM Tim via users wrote: > 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 dow

Re: Squid proxy setup for caching RPMs

2019-09-02 Thread Tim via users
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 hi

Squid proxy setup for caching RPMs

2019-09-02 Thread Richard Shaw
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