Sponsored Content
Operating Systems Linux Local YUM Repository for RHEL versions Post 303019211 by SunshineMLinux on Tuesday 26th of June 2018 12:12:24 AM
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.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
repodiff(1)															       repodiff(1)

NAME
repodiff - list differences between two or more Yum repositories SYNOPSIS
repodiff --old=old_repo_baseurl --new=new_repo_baseurl DESCRIPTION
repodiff is a program which will list differences between two sets of repositories. Note that by default only source packages are com- pared. GENERAL OPTIONS
--old, -o Add a repo. as an old repo. Note that if you prefix the url with "mirror:" then the following url is treated as a mirror and not a baseurl. --new, -n Add a repo. as an new repo. Note that if you prefix the url with "mirror:" then the following url is treated as a mirror and not a baseurl. --archlist, -a Add architectures to change the default from just comparing source packages. Note that if you want the same as a native "x86_64" architecture machine you just need to pass "x86_64" (this is different from earlier versions where you needed to specify "x86_64,athlon,i686,i586,i486,i386,noarch" and you still got "src"). --size, -s Output additional data about the size of the changes. --compare-arch Normally packages are just compared based on their name, this flag makes the comparison also use the arch. So foo.i386 and foo.x86_64 are different. --simple Output a simple one line message for modified packages. --downgrade Split the data for modified packages between upgraded and downgraded packages. EXAMPLES
Compare source pkgs in two local repos: repodiff --old=/tmp/repo-old --new=/tmp/repo-new Compare x86_64 compat. binary pkgs in two remote repos, and two local one: repodiff -a x86_64 --old=http://example.com/repo1-old --old=/tmp/repo-old --new=http://example.com/repo1-new --new=/tmp/repo-new Compare x86_64 compat. binary pkgs, but also compare arch: repodiff -a x86_64 --compare-arch --old=http://example.com/repo1-old --old=/tmp/repo-old --new=http://example.com/repo1-new --new=/tmp/repo-new Compare two releases of Fedora (15 => 16): repodiff --old='mirror:https://mirrors.fedoraproject.org/metalink?repo=fedora-source-15&arch=i386' --new='mirror:https://mir- rors.fedoraproject.org/metalink?repo=fedora-source-16&arch=i386' --size --simple --downgrade 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. James Antill 21 October 2008 repodiff(1)
All times are GMT -4. The time now is 01:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy