LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 06-26-2008, 04:08 AM   #1
Mr.J
Member
 
Registered: Jun 2008
Posts: 82

Rep: Reputation: 15
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.
 
Old 06-26-2008, 06:52 AM   #2
brianmcgee
Member
 
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399

Rep: Reputation: 40
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.
 
Old 06-26-2008, 08:42 AM   #3
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
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
 
Old 06-27-2008, 02:18 AM   #4
Mr.J
Member
 
Registered: Jun 2008
Posts: 82

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum Repository nitrohuffer2001 Linux - General 7 04-23-2013 04:23 AM
Redhat 5.1 Yum Repository vs Fedora x.x Yum Repository lead2gold Linux - Software 1 05-22-2008 03:19 PM
Start a Yum Repository gizza23 Fedora 4 06-06-2007 08:41 PM
Yum repository for 10.1 mijohnst SUSE / openSUSE 6 04-11-2006 09:42 AM
Creating A Yum Repository SepitvaOra Linux - Newbie 1 04-04-2005 07:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration