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
show-installed(1)														 show-installed(1)

NAME
show-changed-rco - show changes in an RPM package SYNOPSIS
show-changed-rco [options] DESCRIPTION
show-changed-rco gives a compact description of the changes to a packages Requires, Conflicts and Obsoletes data from the installed (or old) to a specified rpm file. OPTIONS
-h, --help show this help message and exit -C, --cache Tells repoquery to run entirely from YUM cache - does not download any metadata or update the cache. Queries in this mode can fail or give partial/incorrect results if the cache isn't fully populated beforehand with eg "yum makecache". -c <config file>, --config=<config file> Use alternative config file (default is /etc/yum.conf). --repoid=<repo> Specify which repository to query. Using this option disables all repositories not explicitly enabled with --repoid option (can be used multiple times). By default repoquery uses whatever repositories are enabled in YUM configuration. --enablerepo=<repo> In addition to the default set, query the given additional repository, even if it is disabled in YUM configuration. Can be used multiple times. --disablerepo=<repo> Do not query the given repository, even if it is enabled in YUM configuration. Can be used multiple times. --repofrompath=<repoid>,<path/url> Specify a path or url to a repository (same path as in a baseurl) to add to the repositories for this query. This option can be used multiple times. If you want to view only the pkgs from this repository combine this with --repoid. The repoid for the repository is specified by <repoid>. --old-packages=<pkg> Explicitly list the valid old packages to match the new packages against. --ignore-arch Ignore arch. so you can compare foo-2.i686 to foo-1.x86_64. --skip-new Only give output for packages which we've found an old package for. 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 30 March 2011 show-installed(1)
All times are GMT -4. The time now is 06:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy