User guide
Installing and using the Red Hat Offline Knowledge Portal
Abstract
Preface Copy linkLink copied to clipboard!
The Red Hat Offline Knowledge Portal is a lightweight, secure, offline version of the online Red Hat Customer Portal and Knowledgebase that you can use offline and at the Edge.
Chapter 1. Launching Red Hat Offline Knowledge Portal Copy linkLink copied to clipboard!
Launch Red Hat Offline Knowledge Portal with the minimal default configuration.
Prerequisites
- An active Red Hat Satellite subscription
- Your Customer Portal, Red Hat Developer, or Registry Service Account credentials
- Internet access for the duration of the download
- Podman
Procedure
- To get your access key, navigate to the Red Hat Offline Knowledge Portal Access Key Generator in your browser, log in, and select the button.
To download Red Hat Offline Knowledge Portal from your terminal using Podman:
If needed, log in to
registry.redhat.io
using your Customer Portal, Red Hat Developer, or Registry Service Account credentials:podman login registry.redhat.io
$ podman login registry.redhat.io username: <username> Password: <password> Login Succeeded!
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Pull the image:
podman pull registry.redhat.io/offline-knowledge-portal/rhokp-rhel9:latest
$ podman pull registry.redhat.io/offline-knowledge-portal/rhokp-rhel9:latest
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
To launch Red Hat Offline Knowledge Portal with
https
using the self-signed certificate Podman generates, enter the minimalpodman run
command with your access key:podman run --rm -p 8080:8080 -p 8443:8443 \ --env "ACCESS_KEY=<your_personal_access_key>" \ -d registry.redhat.io/offline-knowledge-portal/rhokp-rhel9:latest
$ podman run --rm -p 8080:8080 -p 8443:8443 \ --env "ACCESS_KEY=<your_personal_access_key>" \ -d registry.redhat.io/offline-knowledge-portal/rhokp-rhel9:latest
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Validation
- After waiting about 30 seconds for the container to load, navigate to http://localhost:8080 or https://localhost:8443 (and accept the self-signed cert).
Chapter 2. Providing feedback Copy linkLink copied to clipboard!
We appreciate your feedback on our documentation. Let us know how we can improve it.
Use the Create Issue form in Red Hat Jira to submit your feedback. The form creates a Jira issue in the Red Hat Offline Knowledge Portal Jira project, where you can track its progress.
Prerequisites
- Ensure you have registered a Red Hat account.
Procedure
- Select the Create Issue link. If Jira displays a login error, log in and proceed after the site redirects you to the form.
- Complete the Summary, Description, and Component fields. In the Description field, include the documentation URL, chapter or section number, and a detailed description of the issue.
- Select Create.
Chapter 3. About Red Hat Offline Knowledge Portal Copy linkLink copied to clipboard!
Built for environments that have low, intermittent, or no Internet connectivity, you can use Red Hat Offline Knowledge Portal to reference Red Hat subscriber content anywhere. For example, you might use Red Hat Offline Knowledge Portal in environments similar to those that run in the following locations:
- A laptop at a site without wifi
- A desktop at an air-gapped, secure work site
- A closed-circuit network on a ship at sea
- A remote cell tower during an outage
- A disconnected network at a healthcare facility or financial institution
- A military unit with denied, disrupted, intermittent, or latent (DDIL) communications
- Remote Edge locations, like space
You can download the containerized Red Hat Offline Knowledge Portal image, and run it with Podman or a Kubernetes platform, such as OpenShift.
Red Hat Offline Knowledge Portal is for your internal use only and contains Red Hat proprietary, licensed content. By using Red Hat Offline Knowledge Portal, you agree to adhere to the terms of the Red Hat Offline Knowledge Portal End User License Agreement (EULA) and not publicly share the image, its content, or your access key.
Wherever you need it, the Red Hat Offline Knowledge Portal has the information you need to install, run, and maintain Red Hat products:
- Product documentation titles
- Knowledgebase solutions and articles
- Common Vulnerabilities and Exposures (CVEs)
- Errata (content)
- Product lifecycles
- Security Data API
- Pages from the Customer Portal
- A search interface for all content
Chapter 4. Red Hat Offline Knowledge Portal technical specifications Copy linkLink copied to clipboard!
Red Hat Offline Knowledge Portal is a container image that serves a static version of Red Hat Customer Portal content with a Solr server for search.
Red Hat Offline Knowledge Portal uses the following components:
-
Based on
registry.access.redhat.com/ubi9/httpd-24
, which is an Apache web server that runs on Red Hat Universal Base Image (UBI) 9 Apache Solr 9.8 server, for search, with its dependencies:
- OpenJDK 21, the Java development kit
-
lsof
package, which lists open files
Red Hat Offline Knowledge Portal runs two services: httpd
and a Solr server. The Solr server runs in the background on port 8983, while the httpd
server runs in the foreground and listens on ports 8080 and 8443.
4.1. Supported configurations Copy linkLink copied to clipboard!
Red Hat Offline Knowledge Portal is an Open Container Initiative (OCI)-compliant container runtime that works on the following architectures:
- x86_64
- aarch64
4.2. Pod requirements Copy linkLink copied to clipboard!
Each pod that runs Red Hat Offline Knowledge Portal must have the following system resources available:
Resources per pod | CPU | Memory | Disk |
---|---|---|---|
Minimum | 1 core | 1 GB | 50 GB |
Recommended | 2 core | 2 GB | 75 GB |
Chapter 5. Installing Red Hat Offline Knowledge Portal Copy linkLink copied to clipboard!
Before installing Red Hat Offline Knowledge Portal in a disconnected environment, you must temporarily connect to the Internet from a secure system to download the Red Hat Offline Knowledge Portal container image and obtain your access key. Then, you can transfer the image to your disconnected environment by using the secure methods specified by your organization.
Red Hat Offline Knowledge Portal is a separate, complimentary product available as an add-on to your Red Hat Satellite subscription. You do not need to install Red Hat Satellite to use Red Hat Offline Knowledge Portal.
To confirm whether you have an active Red Hat Satellite subscription, search for Stock Keeping Unit (SKU) MCT3718 in Red Hat Subscription Manager. If you want to buy a Red Hat Satellite subscription with the Red Hat Offline Knowledge Portal Add-On, contact the Red Hat Sales team.
Prerequisites
- An active Red Hat Satellite subscription
- Internet access for the duration of the download
- Podman
- One or more pods that meet at least the minimum pod requirements
Procedure
To get your access key, navigate to the Red Hat Offline Knowledge Portal Access Key Generator, and select the button.
ImportantYou only need one access key. After you generate your access key, the Red Hat Offline Knowledge Portal Access Key Generator retrieves the key already bound to your Red Hat account.
If your access key is compromised, report a bug to unbind your access key, so you can generate a new one.
To download Red Hat Offline Knowledge Portal from your terminal using Podman:
If needed, log in to
registry.redhat.io
using your Customer Portal, Red Hat Developer, or Registry Service Account credentials:podman login registry.redhat.io
$ podman login registry.redhat.io username: <username> Password: <password> Login Succeeded!
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Pull the image:
podman pull registry.redhat.io/offline-knowledge-portal/rhokp-rhel9:latest
$ podman pull registry.redhat.io/offline-knowledge-portal/rhokp-rhel9:latest
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
To convert the image to a file that you can transfer to your offline environment, save the image to a
tar
file:podman save --format oci-archive -o rhokp.tar rhokp-rhel9:latest
podman save --format oci-archive -o rhokp.tar rhokp-rhel9:latest
Copy to Clipboard Copied! Toggle word wrap Toggle overflow To load the image in your offline environment:
podman load -i rhokp.tar
podman load -i rhokp.tar
Copy to Clipboard Copied! Toggle word wrap Toggle overflow To use your own SSL/TLS certificates, you must create a local
httpd-ssl/
directory to store your certificates:httpd-ssl/ ├── certs │ └── <cert_filename>.pem └── private └── <key_filename>.pem
httpd-ssl/
1 ├── certs │ └── <cert_filename>.pem
2 └── private └── <key_filename>.pem
Copy to Clipboard Copied! Toggle word wrap Toggle overflow ImportantRed Hat Offline Knowledge Portal reverts to the default SSL/TLS key pair if it cannot detect the certificate files.
Enter the following
podman run
command with your access key:podman run --rm -p 8080:8080 -p 8443:8443 \ -v ./httpd-ssl:/opt/app-root/httpd-ssl:Z \ --env "ACCESS_KEY=<your_personal_access_key>" \ --name <red_hat_offline_knowledge_portal> \ -d registry.redhat.io/offline-knowledge-portal/rhokp-rhel9:latest
$ podman run --rm -p 8080:8080 -p 8443:8443 \ -v ./httpd-ssl:/opt/app-root/httpd-ssl:Z \
1 --env "ACCESS_KEY=<your_personal_access_key>" \
2 --name <red_hat_offline_knowledge_portal> \
3 -d registry.redhat.io/offline-knowledge-portal/rhokp-rhel9:latest
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 1
- If you’re using your own SSL/TLS certificates rather than the default, this portion of the command mounts a volume for the SSL/TLS certificates in your local httpd-ssl/ directory.
- 2
- The
podman run
command includes your access key. Without the correct access key, you cannot view encrypted content or use certain features, such as search. - 3
- The
--name
parameter is optional.
- Wait about 30 seconds for the container to start.
Validation
- In your browser, access Red Hat Offline Knowledge Portal at http://localhost:8080 or https://localhost:8443.
To examine the Podman container log, run the following command:
podman logs <container>
$ podman logs <container>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Additional resources
Chapter 6. Updating Red Hat Offline Knowledge Portal Copy linkLink copied to clipboard!
Red Hat Red Hat Offline Knowledge Portal incorporates updated content from the Customer Portal weekly. Every Red Hat Offline Knowledge Portal release is a new image labeled with the release version and the date of the Customer Portal content extract.
Red Hat Offline Knowledge Portal is a separate, complimentary product available as an add-on to your Red Hat Satellite subscription. You do not need to install Red Hat Satellite to use Red Hat Offline Knowledge Portal.
To confirm whether you have an active Red Hat Satellite subscription, search for Stock Keeping Unit (SKU) MCT3718 in Red Hat Subscription Manager. If you want to buy a Red Hat Satellite subscription with the Red Hat Offline Knowledge Portal Add-On, contact the Red Hat Sales team.
Prerequisites
- An active Red Hat Satellite subscription
- Internet access for the duration of the download
- Podman
- One or more pods that meet at least the minimum pod requirements
- The access key you obtained in Installing Red Hat Offline Knowledge Portal
Procedure
To download Red Hat Offline Knowledge Portal from your terminal using Podman:
If needed, log in to
registry.redhat.io
using your Customer Portal, Red Hat Developer, or Registry Service Account credentials:podman login registry.redhat.io
$ podman login registry.redhat.io username: <username> Password: <password> Login Succeeded!
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Pull the image:
podman pull registry.redhat.io/offline-knowledge-portal/rhokp-rhel9:latest
$ podman pull registry.redhat.io/offline-knowledge-portal/rhokp-rhel9:latest
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
To convert the image to a file that you can transfer to your offline environment, save the image to a
tar
file:podman save --format oci-archive -o rhokp.tar rhokp-rhel9:latest
podman save --format oci-archive -o rhokp.tar rhokp-rhel9:latest
Copy to Clipboard Copied! Toggle word wrap Toggle overflow To load the image in your offline environment:
podman load -i rhokp.tar
podman load -i rhokp.tar
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Replace the updated Red Hat Offline Knowledge Portal container image in your disconnected environment. For more information, see Installing Red Hat Offline Knowledge Portal.