Solved

how do I create a local patching repo for redhat 5 ?

Posted on 2014-07-28
5
628 Views
Last Modified: 2014-08-10
We currently update our servers with  “yum update” directly from RedHat.  

The security team requests we create a local patching repo  ( not an install repo ) and then perform all the patching for that month from that one patching repo.

We cannot install any extra software ( Redhat Satellite sever is out of the question ).

With just using what we have from having licensed Redhat Linux, how would we accomplish patching many systems with one local patch repository?

Can someone help me do this ?
0
Comment
Question by:TIMFOX123
5 Comments
 
LVL 23

Assisted Solution

by:savone
savone earned 250 total points
ID: 40225909
There is no simple answer to this problem.  You are going to run into dependency hell.

If all the servers are configured the same, with all the same installed software you can use yum on one of the servers to download all the patches, then transfer them to all the systems and install locally. This creates many problems and usually servers are not all configured the same.

Your security team probably has good intentions but their methods are flawed.  Why in the world would RH Satellite be out of the question?  With it you can Centrally manage, patch, monitor and configure all of your RHEL servers.  This is a security teams dream usually.
0
 

Author Comment

by:TIMFOX123
ID: 40226271
Hello Savone


Satalite Server costs money
0
 
LVL 23

Assisted Solution

by:savone
savone earned 250 total points
ID: 40226488
Well as I said above, there is no other way that I know of other than what I mentioned above.  

But again, if your servers have different services and software installed you are going to run into a dependency nightmare since yum takes care of all the dependencies for you.

I know it is not the answer you wanted to hear, sorry.
0
 
LVL 13

Assisted Solution

by:Sandy
Sandy earned 125 total points
ID: 40226568
TO configure local repo.. follow the below steps

1. Mount the updated version OS iso on home directory of either ftp or http.

(/var/www/html) (/var/ftp/pub)

2. Now browse the Packages directory and install rpm called "createrepo"

3. run #createrepo -v Packages

This will create repo then you can use this repo over ftp or http

TY/SA
0
 
LVL 62

Accepted Solution

by:
gheist earned 125 total points
ID: 40228502
Redhat's licence does not permit you to proxy their paid content that way.
Use CentOS where possible and save some buck.
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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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.

803 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