Visit Our UNIX and Linux User Community


Local YUM Repository for RHEL versions


 
Thread Tools Search this Thread
Operating Systems Linux Local YUM Repository for RHEL versions
# 1  
Old 06-26-2018
Local YUM Repository for RHEL versions

Hello,

I need to know regarding setting up of Local repositories so that I can update or install packages on other RHEL servers.

In our environment we have many servers with different RHEL versions.

Like RHEL 7.2, RHEL 7.3, RHEL 7.4, RHEL 7.5
Arch = x86_64

I have setup one Repo server;

Installed RHEL 7.2 on it
Registered via subsscription-manager
Created REPOSITORY (creatrepo) with folder name RHEL7.2
Copied RHEL 7.2 dvd contents in it
Using http to install updates in another server with same version of 7.2 from this repo server. And it is working ok.

My question is;

For installing/updating packages on other servers with different versions like RHEL 7.3, 7.4, 7.5;

Do I need to create a separate REPO server for each version
e.g.
One RHEL 7.3 repo server for all RHEL 7.3 clients
One RHEL 7.4 repo server for all RHEL 7.4 clients
One RHEL 7.5 repo server for all RHEL 7.5 clients

OR

I can simply create another folder repository in the RHEL 7.2 server that I am already using as repo server and use this for other version clients
e.g.
1 RHEL 7.2 server having below repo folders for each version;
/var/www/html/rhel7/rhel7.2
/var/www/html/rhel7/rhel7.3
/var/www/html/rhel7/rhel7.4
/var/www/html/rhel7/rhel7.5

Thanks

---------- Post updated 06-26-18 at 09:42 AM ---------- Previous update was 06-25-18 at 01:48 PM ----------

Can anyone please help here, thanks.

Previous Thread | Next Thread
Test Your Knowledge in Computers #641
Difficulty: Medium
NeXTSTEP had a Unix operating system based on the Minix kernel, plus source code from System V.
True or False?

10 More Discussions You Might Find Interesting

1. Fedora

Yum repository not working in Fedora 16

Hi, while installing/updating package using yum I am getting (repomd.xml) error # yum list Loaded plugins: langpacks, presto, refresh-packagekit http://mirror.cse.iitk.ac.in/fedora-archive/fedora/linux/fedora/linux/releases/16/Everything/x86_64/os/repodata/repomd.xml: HTTP Error 404 -... (12 Replies)
Discussion started by: muzaffar.k
12 Replies

2. Solaris

Solaris 11 - Automatically update local IPS repository

Hi guys, I've got a local IPS repository on server 1 (local server in the basement) and a second one on server 2 in another data center. Both servers act as repository servers for their locations. The publisher list is like this pkg publisher PUBLISHER TYPE STATUS... (4 Replies)
Discussion started by: dheitepriem
4 Replies

3. Red Hat

Yum cannot install from repository

Hi guys, thanks for you help on this issue. I built a dvd repository on my server and when I try to install a package from it, I get this error ftp://10.0.0.12/pub/Packages/httpd-2.2.15-26.el6.x86_64.rpm: PYCURL ERROR 9 - "Server denied you to change to the given directory" I will... (2 Replies)
Discussion started by: cjashu
2 Replies

4. Red Hat

Concept of yum in RHEL

I have a confusion that even though yum is not configured on my RHEL server but yum list is showing. Yum install <package_name> fails. I hope, my question is clear of how yum list is working even though yum is not configured on the server. Please revert with the reply to my query. Regards (8 Replies)
Discussion started by: RHCE
8 Replies

5. Red Hat

Yum repository linking to ftp site of Redhat

I have a query that does Redhat have the link to the yum repository on its FTP site. In my environment, I have the file rhel-debuginfo.repo which has - baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo. I hope, my question is clear that is there a... (5 Replies)
Discussion started by: RHCE
5 Replies

6. Red Hat

local yum server on fedora 17

Hello friends I was creating local yum server from dvd but fedora 17 used pool method , i mean similar to debian for packages i.e a,b....z How can i create local yum server on fedora 17 like fedora 14,15,16 Any help Thanks (1 Reply)
Discussion started by: rink
1 Replies

7. Red Hat

Configure yum repository

how to configure yum server to get rpms from any repository or redhat repo. (4 Replies)
Discussion started by: leganti
4 Replies

8. Red Hat

Trying to install boost 1.4.1 without success maybe yum repository is wrong

Hi I following the tutorial to install boost 1.4.1 in centos 5.6 32 bit But without success maybe it doesn't find it in my repository in yum , but also when I compile the lib It doesn't find the libs . The tutorial link: Compiling gearman on CentOS 5.6 - gearman | Google Groups the error... (1 Reply)
Discussion started by: umen
1 Replies

9. Red Hat

Local yum repository

Hi Friends, I have succesfully configured a local yum repository using ios image. Please let me know how i can synchronize the local repository with RHN. Is it possible, so that i can update the local repository with latest updates. Regards, Arumon (1 Reply)
Discussion started by: arumon
1 Replies

10. Ubuntu

How to configure YUM in RHEL 4.0

Hi guys Can anyone assist me how to configure YUM in RHEL4.0. and from where i can get the YUM package for RHEL4.0. Thanks in advance (3 Replies)
Discussion started by: daya.pandit
3 Replies
yum-complete-transaction(8)											       yum-complete-transaction(8)

NAME
yum-complete-transaction - attempt to complete failed or aborted Yum transactions SYNOPSIS
yum-complete-transaction [options] GENERAL OPTIONS
-h, --help Help; display a help message and then quit. --cleanup-only Only clean up only transaction journal files and exit. DESCRIPTION
yum-complete-transaction is a program which finds incomplete or aborted yum transactions on a system and attempts to complete them. It looks at the transaction-all* and transaction-done* files which can normally be found in /var/lib/yum if a yum transaction aborted in the middle of execution. If it finds more than one unfinished transaction it will attempt to complete the most recent one first. You can run it more than once to clean up all unfinished transactions. FILES
As yum-complete-transaction uses YUM libraries for retrieving all the information, it relies on YUM configuration for its default values like which repositories to use. Consult YUM documentation for details: /etc/yum.conf /etc/yum/repos.d/ /var/cache/yum/ SEE ALSO
yum.conf (5) http://yum.baseurl.org/ AUTHORS
See the Authors file included with this program. BUGS
There are of course no bugs, but should you find any, you should first consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if unsuccessful in finding a resolution contact the mailing list: yum-devel@lists.baseurl.org. To file a bug use http://bugzilla.redhat.com for Fedora/RHEL/Centos related bugs and http://yum.baseurl.org/report for all other bugs. Seth Vidal 10 December 2007 yum-complete-transaction(8)

Featured Tech Videos