mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
44 lines
1.0 KiB
Plaintext
44 lines
1.0 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * list of assemblies where this module is included
|
|
// install/installing_bare_metal/ipi/ipi-install-installation-workflow.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="ipi-install-preparing-a-disconnected-registry_{context}"]
|
|
= Preparing the registry node to host the mirrored registry
|
|
|
|
The following steps must be completed prior to hosting a mirrored registry on bare metal.
|
|
|
|
.Procedure
|
|
|
|
. Open the firewall port on the registry node:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ sudo firewall-cmd --add-port=5000/tcp --zone=libvirt --permanent
|
|
----
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ sudo firewall-cmd --add-port=5000/tcp --zone=public --permanent
|
|
----
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ sudo firewall-cmd --reload
|
|
----
|
|
|
|
. Install the required packages for the registry node:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ sudo yum -y install python3 podman httpd httpd-tools jq
|
|
----
|
|
|
|
. Create the directory structure where the repository information will be held:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ sudo mkdir -p /opt/registry/{auth,certs,data}
|
|
----
|