4.4.11 Installing the CLI
You can install the OpenShift CLI (oc) binary on Linux by using the following procedure:
- Navigate to the OpenShift 4.x container platform downloads page on the Red Hat Customer Portal:
https://access.redhat.com/downloads/content/290
The Red Hat Login will be prompted first on selecting the above URL link, then the Download Red Hat OpenShift Container Platform screen is displayed. - Select the required version(s) from the drop-down menu, by scrolling down on the web page above. The latest version, 4.11.7 for RHEL 8 was displayed as of 11th October, 2022.
- Click Download Now next to the OpenShift v4.11.7 Linux Client entry and save the file, oc-4.11.7-linux.tar.gz. Download the Installer, OpenShift v4.11.7 Linux Installer file:
openshift-install-linux-4.11.7.tar.gz
The gzip installer file for OpenShift 4.11.7 Server is downloaded. - Unpack the archives.
The OpenShift Linux installer downloaded file unpack command:
tar -zxvf openshift-install-linux-4.11.7.tar.gz
The OpenShift Linux Client unpack command:
tar -zxvf oc-4.11.7-linux.tar.gz
Copy the oc binary to a directory that is appended to the PATH environment variable (can be viewed using echo $PATH). Check the version of oc installed by running the following commands to configure the shell:
cd /home/wasadm/bin
eval $(./crc oc-env)
If the service is not running, this can be started using:
./crc start
oc login -u developer
https://api.crc.testing:6443
The oc version command is used to display the installed version.
4.5 IBM Cloud Private installation
IBM Cloud Private is an application platform for developing and managing on-premises, containerized applications. It includes the container management system called Kubernetes, a private image registry, a management console, and monitoring systems.
IBM Cloud Private is available as an enterprise-level system. It is also available as a free CE (community edition), IBM Cloud Private-CE, which provides a limited offering that is available for test and development environments. IBM Cloud Private also provides an integrated DevOps solution for applications.
IBM Cloud Private-CE is available for free from Docker Hub:
See https://hub.docker.com/r/ibmcom/icp-inception/
This section is based on the ResearchGate publications, entitled IBM Cloud Private P8 Container CPIT Installation on CENTOS Linux 8.0 (document, CENTOS8-0InstallationForIBMCloudPrivateandIBMFileNetP8CPITInstallationV2.docx) and IBM Cloud Private P8 Container CPIT Installation on RedHat Enterprise Linux 8.0
The full screenshots for the following procedures can be found in the above documents.