LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-20-2021, 12:44 AM   #1
linux8345
LQ Newbie
 
Registered: May 2021
Posts: 3

Rep: Reputation: Disabled
RedHat 7: Repository-Server


Hello everybody,

I set up a repository server hosting the RH7 packages to provide them for my network.
I basically set up an apache and used reposync to get the packages, it looks like this:

Code:
reposync -p /dir --repo=rhel-7-server-rpms --download-metadata
I got two of those, for baseos and appstream.

This way it syncs the entire repo in my local /dir.

Now I got two problems that I have to solve:

A) I want to keep several versions of the repo, because I might want to add another server later that should have the same versions of patches etc installed. So I plan on copying the directory and create a sublink on the apache server, something similar to: localrepo.domain/2021-05-20
Is that a good way to do it? Or is there better options

B) The software that's running on these servers sometimes is only allowed to run on specific minor-releases of RH7. Let's say it's 7.6.
How can I create a repo that does only contain the packages of RH7.6?

Thank you for your help =)
 
Old 05-20-2021, 03:55 AM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Quote:
Originally Posted by linux8345 View Post
I got two of those, for baseos and appstream.
This sounds a lot like RHEL 8.

Quote:
Originally Posted by linux8345 View Post
How can I create a repo that does only contain the packages of RH7.6?
FYI, EUS (Extended Update Support) for RHEL 7.6 ends on 2021-05-31, i.e. in less than two weeks.

Last edited by shruggy; 05-20-2021 at 04:14 AM.
 
Old 05-20-2021, 04:35 AM   #3
linux8345
LQ Newbie
 
Registered: May 2021
Posts: 3

Original Poster
Rep: Reputation: Disabled
Correct, I have 2 repo servers: One for RH8 (this one is easy, I 'just' keep the newest packages on it, so setting it up was simple).
Plus another one for RH7.
And yes, I know about it being EOL soon. I'm not happy with it either...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot retrieve repository metadata (repomd.xml) for repository: rhel-6-server-eus-rpms. Please verify its path and try again mbarr Linux - Newbie 2 09-12-2018 11:10 AM
svn client repository vs svn server repository? anup tarone Linux - Newbie 1 02-21-2012 06:37 AM
Package Kit Error-- "Cannot retrieve repository metadata (repomd.xml) for repository" mbvpixies78 Linux - Newbie 11 08-22-2008 07:20 PM
Redhat 5.1 Yum Repository vs Fedora x.x Yum Repository lead2gold Linux - Software 1 05-22-2008 02:19 PM
Creating CVS repository: cvs [import aborted]: attempt to import the repository enemorales Linux - Software 3 10-15-2004 04:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration