Method for Obtaining a copy of the optional RPMs?

Latest response

I'm working with a closed network, so I cannot simply enable the optional RPMs repo and install the packages over the internet.

Many of the other RHEL repo's exist within one of the distributed ISOs, such as the high-availability and resilient storage, as well as the standard RHEL server/workstation packages. For these I can host the repos on a server on the closed network to make them available to any hosts that need them.

I am wondering if it's possible to download the full extra packages repo for RHEL 7 from the RHEL site so that I can host it on my closed network as well, rather than downloading individual packages and building a repo myself.

Responses

You may download the optional repos using some commands such as "wget" on a node with internet connectivity and then move those offline site details to another closed network node and build the repos.

Repo ID:   rhel-7-server-optional-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Optional (RPMs)
Repo URL:  https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/optional/os
Enabled:   1

Reference: What is the official way to add additional repos to RHEL containers in Atomic

Hi David ! :) What you can do is to download the individual packages you want to place on the server for a later on offline installation from https://access.redhat.com/downloads/content/package-browser and install them by running sudo yum localinstall <package-name>. As far as I know there is no way to download a complete repository with included packages, the system is not designed to work that way.

You could use an Internet connected Red Hat Satellite to download the packages and then use the Inter-Satellite Sync feature to make repos on removable media, carry that across the air-gap, load into another Satellite Server connected only to the isolated network. See Synchronizing Content Between Satellite Servers in the Red Hat Satellite Content Management Guide.

I have a network just like that, we use a script to register our server pull down the latest repo then unregisters the server and we are left with the repo which will have all of the rpms.

Hi David,

If you have at least one host with an internet connection you could use the tool reposync to build a small and simple local mirror for your desired repos.

I have managed to build a small mirror for poor admins with that. If you like take a look at https://github.com/Tronde/poor-man-s-rhel-mirror

Best regards, Joerg

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.