Solved

YUM Repository setup

Posted on 2008-06-26
11
747 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
 
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
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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.

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now