Solved

YUM Repository setup

Posted on 2008-06-26
11
755 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

770 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