Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 772
  • 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 KosarajuSr. Monitoring Architect - Nagios/Op5 SME - ConsultantCommented:
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
Deepak KosarajuSr. Monitoring Architect - Nagios/Op5 SME - ConsultantCommented:
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

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

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