Solved

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

Posted on 2014-07-28
5
630 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
High Bandwidth Usage 6 75
awk sed variable in file 3 70
awk variable in printf 1 33
parallel rsync issues with Ubuntu 1 21
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

791 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