Solved

YUM Repository setup

Posted on 2008-06-26
11
756 Views
Last Modified: 2013-12-16
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.
0
Comment
Question by:pkgoyal
  • 3
  • 2
  • 2
  • +1
11 Comments
 
LVL 10

Accepted Solution

by:
nabeelmoidu earned 84 total points
ID: 21872732
Dump your installation DVD  to a directory accessible via http
if you have cds, copy the first cd as is, and from the rest of the cds copy the rpms folder and add it to the rpm folder of the first cd.

add this in your /etc/yum.conf on the client or in separate files named file.repo
# in /etc/yum.repos.d
[reponame]
name=Fedora Core 4
baseurl=http://servername/path-to-dvd-dump/Fedora/
enabled=1
gpgcheck=0

start httpd on the server, try yum update from the client.
0
 
LVL 14

Expert Comment

by:Deepak Kosaraju
ID: 21874820
Follow the below link
http://www.g-loaded.eu/2005/12/11/local-yum-repository/

To configure global repository use the following repository on client machines.
http://dag.wieers.com/rpm/FAQ.php

0
 

Author Comment

by:pkgoyal
ID: 21881158
Actaully... I need to configure it so that YUM can download rpm packages using ftp...

For ftp what setup I need to do...
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 14

Assisted Solution

by:Deepak Kosaraju
Deepak Kosaraju earned 83 total points
ID: 21883187
nothing make sure the repository folder can be accessible through FTP.
best link to help is below.
http://www.informit.com/articles/article.aspx?p=440160&seqNum=3
0
 

Author Comment

by:pkgoyal
ID: 21896987
Page is good... But If I want to configure user name and password for yum, then how can I do that ?
0
 
LVL 4

Assisted Solution

by:d-it-lx
d-it-lx earned 83 total points
ID: 21928738
0
 
LVL 10

Expert Comment

by:nabeelmoidu
ID: 25210367
Why is my comment not been included for points ? I answered his original  question fully in the first post.
0
 
LVL 10

Expert Comment

by:nabeelmoidu
ID: 25228162
Why is my comment not been included for points ? I answered his original  question fully in the first post.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to install windows?? 2 55
Windows Upgrade Using Media Creation Tool fails around 44% 13 41
expand ext4 on centos 6 5 37
Linux MD5 Hash 7 36
Installations often have prerequisites, such as “Microsoft .Net framework is required for this product”. The usual implementation in MSI installations is system search for a particular registry setting representing the required prerequisite, followe…
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question