Install the OpenShift command line interface (CLI)


  1. Create an /ocp-tools directory on the bastion server:
    mkdir /ocp-tools
  2. Download the OpenShift Container Platform client and installation utilities specific for your bastion operating system
    wget -P /ocp-tools
    wget -P /ocp-tools
  3. Issue these commands:
    ls -la /ocp-tools
    cd /ocp-tools
    chmod 777 *
    tar xvf openshift-install-linux.tar.gz openshift-install
    tar xvf openshift-client-linux.tar.gz oc kubectl
    cp oc kubectl /usr/local/bin
    oc version
    kubectl version
    /ocp-tools/openshift-install version