Hi, im a new OpenSuSE user. A few months ago i got my actual job and ive been asked for building a local software/updates repository for the servers and desktops we manage. We use the yast tool for almost everything so i guess this is going to be an easy task.
Id like to know what do i need to mantain the repository, where do u have to get the software/updates from, and everything u can teach me.
I think this is a pretty good idea, almost all of the servers and desktops run OpenSuSE 11.X so we’d be saving install/updates traffic this way.
Any ideas??? Thanks and sorry for my argentinian english :P, im working on it, trust me haha.
So I guess I am not sure why I would just not use the online updates, being very careful on what you let go through. You can create your own local repo by downloading rpm’s to a local folder and running createrepo, a file you can search for in YaST. You add the local folder just like a remote one. Each time you update or change the files in your local repo, you got to use createrepo to update the repository for other servers to see.
Hi, jdmcdaniel3, thanks for your answer! What i need is a copy of the OpenSuSE oficial repository in my network so i just copy the software and updates once through the internet and then just use it, is that possible??? we made something similar with an ubuntu repository and everyone inside our network use it to install or update Ubuntus Systems, but i couldnt talk with the guy that mounted that repo yet. thanks again.
So I think you would use the program rsync to do this. Due to the size of the repositories, it is not something I have tried. You can get rsync in YaST, if you don’t already have it. I found an example that was a couple of years old here:
An alternative approach, which has advantages and disadvantages, would be to use squid as a proxy server, and fiddle the squid config so that it held on to .rpms (and .debs?) for a more extended period of time.
This wouldn’t be the most efficient approach in the world, but it would be low maintenance when set up, and probably easy to set up, too.
On 2010-11-10 22:06, markone wrote:
>
> An alternative approach, which has advantages and disadvantages, would
> be to use squid as a proxy server, and fiddle the squid config so that
> it held on to .rpms (and .debs?) for a more extended period of time.
Don’t forget that the opensuse site is a redirector, so that the download
really is done from a mirror, that changes. Worse, for this purpose, the
downloader (aria2c) can download from several sites at the same time in
order to use all the available bandwidth.
All that destroys a proxy advantage.
Time ago I proposed that they could develop a kind of proxy tailored for
our repositories, but it didn’t get much support. I think there is a fate.
There is a chap that did a set of scripts to create and maintain a local
repository mad of what you have already downloaded.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)
We already have a proxy caching web traffic, but id like to avoid touching it, because im not really confortable with squid yet. My idea is to make a local copy of some repository and keep it up to date so i can use it as if it was an official repository. Ive been reading about using rsync to do that, what directories should i copy??? Is this posible??? I think it should work. Thanks everybody!
> can use it as if it was an official repository. Ive been reading about
> using rsync to do that, what directories should i copy???
As many as you use - simple. You could make mirrors of oss, non-oss and
updates, of the directories corresponding to the architectures you use. It
can be a lot.
Or, you can list the packages you need most and mirror only that - but then
you have to run create repo on the result, I think.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)
Hi, nice ideas!!! Yesterday i talked with my boss and he decided he wants to build an official OpenSuSE repository. I work for a University here in Argentina. I sent an email to the OpenSuSE stuff asking for help, is there any chance i can get an official repository?? what do u think?
Hi, the repository is up since a few weeks ago, but i can’t make it an oficial repository i don’t get any response from the opensuse team. I’ve already sent all the information, but there was no answer, i configured the rsync daemon as they the link said. What should i do?
The problem is that… now i need to change all the repositories addres of the servers, because download.opensuse.org doesn’t redirect to my repository.