Article 5J1QF RedHat 7: Repository-Server

RedHat 7: Repository-Server

by
linux8345
from LinuxQuestions.org on (#5J1QF)
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-metadataI 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 =)latest?d=yIl2AUoC8zA latest?i=5OPD7pwyJtQ:KixKdP_0PvA:F7zBnMy latest?i=5OPD7pwyJtQ:KixKdP_0PvA:V_sGLiP latest?d=qj6IDK7rITs latest?i=5OPD7pwyJtQ:KixKdP_0PvA:gIN9vFw5OPD7pwyJtQ
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments