YUM repository
HI, I've client server linux machines (fedora code 4.0). I need to setup YUM respository on my linux server, so that every time my client machine comes up, it will check for newer version of application in YUM respository on server, if newer verson is avialable, then It should download the application (example: SIP client) and upgrade it and install it.
Can any one help me in setting up YUM repository @ server and how to use it from client machine. |
Mirror the repository to disk or copy the contents of a DVD. Then create a repository out of it, if it does not exist already. Via cron or at or a custom initscript you then execute yum -y update as root. Check the man pages of yum, cron, at and createrepo.
You could also add a cronjob that syncs the contents of your local yum channel with an online one - in case you want to install the latest packages and do not want to freeze a channel. |
FYI fedora core 4 repo support already terminated and some private repo i found out just start with fedora 7, below than that is not available
so i suggest you install fedora 8 ( yeah f9 available), to create own repo not so dificult, you can use wget or rsync, for me i prefer wget because i can reject the file not need for my office workstation "disk space issue" then (not sure how to use rsync) if want to do i suggest only do for "fedora-updates.repo" also check yum.conf make sure "keepcache=1" this will keep the downloaded update rpm file to be use by others machine hope this give you clue |
Actually, I don't have to update any fedora or Linux component. I just need to setup repository for hardy 10 to 15 rpms related with my application. In that case, I think I don't have to copy whole DVD, I just need to put my rpms in folder and just use yum-arch to create the respository.
|
All times are GMT -5. The time now is 06:19 AM. |