Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 775
  • Last Modified:

YUM Repository setup

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
pkgoyal
Asked:
pkgoyal
  • 3
  • 2
  • 2
  • +1
3 Solutions
 
nabeelmoiduCommented:
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
 
Deepak KosarajuDevOps EngineerCommented:
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
 
pkgoyalAuthor Commented:
Actaully... I need to configure it so that YUM can download rpm packages using ftp...

For ftp what setup I need to do...
0
A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

 
Deepak KosarajuDevOps EngineerCommented:
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
 
pkgoyalAuthor Commented:
Page is good... But If I want to configure user name and password for yum, then how can I do that ?
0
 
d-it-lxCommented:
0
 
nabeelmoiduCommented:
Why is my comment not been included for points ? I answered his original  question fully in the first post.
0
 
nabeelmoiduCommented:
Why is my comment not been included for points ? I answered his original  question fully in the first post.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 3
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now