Pls, help me correctly create OpenSuse 10.2 updates repo on the server for local network. 1. What programs should I use for this? 2. And how to sync it in the future with public updates server?
1. Create a rsync cronjob. Something like that: I'm using a user rights to do so. 40 4 * * * rsync -tvrl --exclude=rpm/ppc/ --exclude=rpm/src/ --exclude=rpm/x86_64/ --delete ftp.gwdg.de::pub/suse/update/10.2/ /srv/ftp/repos/10.2/update/ #repo: update As u can see I rsync the files into that local folder /srv/ftp/repos/10.2/update/ 2. Then create a createrepo cronjob. Something like this: 5 5 * * * createrepo /srv/ftp/repos/10.2/update/ #createrepo 3. Add the local folder to Yast. In my case it's /srv/ftp/repos/10.2/update/ You need rsync and createrepo installed. Enjoy NB: - with rsync you can query the all available folders of the particular server. check the rsync man pages. - using webmin will easy the cron handling. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org