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
reposync(1)															       reposync(1)

NAME
reposync - synchronize yum repositories to a local directory SYNOPSIS
reposync [options] DESCRIPTION
reposync is used to synchronize a remote yum repository to a local directory, using yum to retrieve the packages. OPTIONS
-h, --help Display a help message, and then quit. -c CONFIG, --config=CONFIG Config file to use (defaults to /etc/yum.conf). -a ARCH, --arch=ARCH Act as if running the specified arch (default: current arch, note: does not override $releasever. x86_64 is a superset for i*86.). --source Also download .src.rpm files. -r REPOID, --repoid=REPOID Specify repo ids to query, can be specified multiple times (default is all enabled). -t, --tempcache Use a temp dir for storing/accessing yum-cache. -p DESTDIR, --download_path=DESTDIR Path to download packages to: defaults to current directory. -g, --gpgcheck Remove packages that fail GPG signature checking after downloading. exit status is '1' if at least one package was removed. -u, --urls Just list urls of what would be downloaded, don't download. -l, --plugins Enable yum plugin support. -n, --newest-only Download only newest packages per-repo. -q, --quiet Output as little information as possible. EXAMPLES
Sync all packages from the 'updates' repo to the current directory: reposync --repoid=updates Sync only the newest packages from the 'updates' repo to the current directory: reposync -n --repoid=updates Sync packages from the 'updates' and 'extras' repos to the current directory: reposync --repoid=updates --repoid=extras Sync all packages from the 'updates' repo to the repos directory: reposync -p repos --repoid=updates Sync all packages from the 'updates' repo to the repos directory excluding x86_64 arch. Edit /etc/yum.conf adding option exclude=*.x86_64. Then: reposync -p repos --repoid=updates FILES
reposync uses the yum libraries for retrieving information and packages. If no configuration file is specified, the default yum configura- tion will be used. /etc/yum.conf /etc/yum/repos.d/ 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. 27 April 2007 reposync(1)
All times are GMT -4. The time now is 07:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy