I have configured ten OpenSUSE 10.3 repository via yast. Now I want to copy this list to my other servers. Which directory do I need to copy to make sure all my other servers have the same repositories?
Thanks.
I have configured ten OpenSUSE 10.3 repository via yast. Now I want to copy this list to my other servers. Which directory do I need to copy to make sure all my other servers have the same repositories?
Thanks.
Do you mean that you want to copy the repository itself to a local drive for use by all machines in your shop, or that you just want Suse machines in your shop to point to the same (remote) repositories?
Sorry - I wasn’t clear. I have a server call gandalf (OpenSUSE 10.3) - I ssh to that server, fire up yast and go to Software -> Software Repositories and Add 10 repositories.
Now I have 50 other machines where I want to add the same 10 repositories so that I can download and install RPM/ programs. It is tiresome to log on to each and every machine and type in the 10 repositories name in Yast. So: I was wondering if there is any file on gandalf that has the name of all the 10 repositories which I can then just copy to the 50 other machines.
Thanks
Are all machines running 10.3? That’s important, because the names of the repositories usually include the version (ex., “site.org/.../10.3/oss”). You’ll have to confirm that.
I’m using 10.3 here at home and there’s an entry for each repo in /etc/zypp/repos.d. You could try that. Each file in repos.d appears to contain the info for the respository in question.
(Someone who’s more familiar with the innards of Yast and Zypp can feel free to chime in here.)
To be honest, though, by the time you copy that information to all 50 machines, you could probably have started Yast and done it yourself. Remember that each will want to refresh the repositories, too, which is going to put a load on your network.
That’s why I asked if you were establishing a central, local repository for all machines.
Hi
You need to look at some of the centralized management tools if your
looking after 50 boxes. For a start, if they are on the same lan,
consider using rsync to pull down the repositories and pointing all the
machines at your main server. Or if it’s only a specific set of rpms
create your own local repository and just rsync down the rpms you need.
I think you should find the repository lists in either /etc/zmd
or /etc/zypp
–
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-9-default
up 15:50, 2 users, load average: 0.16, 0.13, 0.12
GPU GeForce 6600 TE/6200 TE - Driver Version: 180.27