Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-26-2008, 04:08 AM
|
#1
|
Member
Registered: Jun 2008
Posts: 82
Rep:
|
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.
|
|
|
06-26-2008, 06:52 AM
|
#2
|
Member
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399
Rep:
|
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.
|
|
|
06-26-2008, 08:42 AM
|
#3
|
Member
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Rep:
|
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
|
|
|
06-27-2008, 02:18 AM
|
#4
|
Member
Registered: Jun 2008
Posts: 82
Original Poster
Rep:
|
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 03:33 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|