[opensuse] Zypper local proxy / local repo mirror
Dear openSUSE list, what is the best practice to provide a network of O(50) machines with updated packages? Currently, we have a local mirror of all the repos we use, which takes up quite a bit of disk space and downloads a huge number of unneeded packages. In the Debian/Apt world, there is apt-proxy (and/or apt-cache) which provides a transparent proxy, such that all packages are only downloaded once. Looking for a similar solution with openSUSE I found zypp-proxy https://features.opensuse.org/306896 which seems to have never beem implemented. Is anyone using squid as a proxy with download.opensuse.org? Some forum posts suggest this clashes with the download mechanism used... Are there other totally different approaches to this basic problem? Thanks, Robin -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 04/04/2014 15:51, Robin Roth a écrit :
what is the best practice to provide a network of O(50) machines with updated packages?
Currently, we have a local mirror of all the repos we use, which takes up quite a bit of disk space and downloads a huge number of unneeded packages.
Is anyone using squid as a proxy with download.opensuse.org? Some forum posts suggest this clashes with the download mechanism used...
Are there other totally different approaches to this basic problem?
I am thinking about a "totally different approache" (your words) : "download only the base system from the public repo (basic tools, KDE, Gnome...) instead of all", so more or less what is found on the DVDs. Should be <5Gb instead of 60Gb last time I download the whole repo. Maybe in the meta-package there is ready lists. But I haven't tried it, just an idea. -- (o_ //\ Dsant, from Lyon, France V_/_ forum@votreservice.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Robin Roth wrote:
Dear openSUSE list,
what is the best practice to provide a network of O(50) machines with updated packages? [snip] Is anyone using squid as a proxy with download.opensuse.org? Some forum posts suggest this clashes with the download mechanism used...
Yep, we're using squid with download.opensuse.org. http://wiki.jessen.ch/index/How_to_cache_openSUSE_repositories_with_Squid -- Per Jessen, Zürich (18.0°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Per Jessen wrote:
Robin Roth wrote:
Dear openSUSE list,
what is the best practice to provide a network of O(50) machines with updated packages? [snip] Is anyone using squid as a proxy with download.opensuse.org? Some forum posts suggest this clashes with the download mechanism used...
Yep, we're using squid with download.opensuse.org.
http://wiki.jessen.ch/index/How_to_cache_openSUSE_repositories_with_Squid
Just FYI - we're still on squid 2.6, we would like to move to 3.x to get ipv6 support, but a few ciritical things were changed so we're holding back for now. -- Per Jessen, Zürich (12.4°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2014-04-04 16:53, Per Jessen wrote:
Yep, we're using squid with download.opensuse.org.
http://wiki.jessen.ch/index/How_to_cache_openSUSE_repositories_with_Squid
A
very interesting method, thanks. However, it looks quite complicated to setup. This would be VERY nice to have. I would suggest to vote for it. Activity there is 4 years old. https://features.opensuse.org/306896 - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlNAAw4ACgkQtTMYHG2NR9UnrwCcD8qZpNIMntc/q/0pm/TV9Vh0 C3cAn2gK+NKim5KCtikvKlFq7kbSMmgz =0v7P -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2014-04-04 16:53, Per Jessen wrote:
Yep, we're using squid with download.opensuse.org.
http://wiki.jessen.ch/index/How_to_cache_openSUSE_repositories_with_Squid
A very interesting method, thanks.
However, it looks quite complicated to setup.
I agree, it does look a little complicated, but you should be able to follow my step-by-step guide and get it running with minimum effort. -- Per Jessen, Zürich (12.8°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sat, Apr 05, 2014 at 04:14:07PM +0200, Per Jessen wrote:
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2014-04-04 16:53, Per Jessen wrote:
Yep, we're using squid with download.opensuse.org.
http://wiki.jessen.ch/index/How_to_cache_openSUSE_repositories_with_Squid
A very interesting method, thanks.
However, it looks quite complicated to setup.
I agree, it does look a little complicated, but you should be able to follow my step-by-step guide and get it running with minimum effort.
'Installation: when you're done, copy the binary jesred into /usr/bin.' Have you considerer to update the jesred 1.2.1 package as available from the home:happenpappen OBS project? At the end we could keep jesred at a current state at the server:proxy project. That would save the users the manual and compile and install steps. If you're forced to go the manual compile and install way please use /usr/local/ as the general destination instead of /usr or / Cheers, Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team + SUSE Labs SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
Lars Müller wrote:
On Sat, Apr 05, 2014 at 04:14:07PM +0200, Per Jessen wrote:
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2014-04-04 16:53, Per Jessen wrote:
Yep, we're using squid with download.opensuse.org.
http://wiki.jessen.ch/index/How_to_cache_openSUSE_repositories_with_Squid
A very interesting method, thanks.
However, it looks quite complicated to setup.
I agree, it does look a little complicated, but you should be able to follow my step-by-step guide and get it running with minimum effort.
'Installation: when you're done, copy the binary jesred into /usr/bin.'
Have you considerer to update the jesred 1.2.1 package as available from the home:happenpappen OBS project? At the end we could keep jesred at a current state at the server:proxy project.
I didn't know about that one. Maybe it wasn't there when I worked on this - my setup is 2.5 years old. For the time being, our internal opensuse cache is disabled due to bnc#866443, but next time I look at this I'll probably work on upgrading squid 3.x.
That would save the users the manual and compile and install steps. If you're forced to go the manual compile and install way please use /usr/local/ as the general destination instead of /usr or /
You're right, although I think we can safely leave to the admin if he's capable of running squid :-) -- Per Jessen, Zürich (12.5°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2014-04-05 16:14, Per Jessen wrote:
Carlos E. R. wrote:
However, it looks quite complicated to setup.
I agree, it does look a little complicated, but you should be able to follow my step-by-step guide and get it running with minimum effort.
Not quite... I've never setup up squid, and that's a prerequisite. Doable, of course, but not something to do in an hour or two. :-} -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Dear all, Thanks for the responses. I'll have a look at your documentation. Cheers, Robin On 04/04/2014 04:53 PM, Per Jessen wrote:
Robin Roth wrote:
Dear openSUSE list,
what is the best practice to provide a network of O(50) machines with updated packages? [snip] Is anyone using squid as a proxy with download.opensuse.org? Some forum posts suggest this clashes with the download mechanism used...
Yep, we're using squid with download.opensuse.org.
http://wiki.jessen.ch/index/How_to_cache_openSUSE_repositories_with_Squid
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (6)
-
Carlos E. R.
-
Carlos E. R.
-
Dsant
-
Lars Müller
-
Per Jessen
-
Robin Roth