OC tool stands for OpenShift Origin Client Tools
- Operating System : Ubuntu 16.04 LTS (64-bit)
The step by step installation guideline is shown below.
Download oc Client Tools for Linux from: https://www.openshift.org/download.html
Extract the downloaded file and you will get oc file.
The oc file should be moved to any directory in the path.
To check the path information of the local machine, open terminal and write:
echo $PATH
Now keep the oc file in any of these listed directory.
After keeping the oc file in any directory of the path you need to give execution permission to oc file.
Open terminal in the same path and do:
chmod +x SELECTED_PATH
After successful installation of oc you can login to the console like below:
$ oc login
Server:
Username:
Password:
Login successful.
Welcome! See 'oc help' to get started.
- OC download URL: https://www.openshift.org/download.html
- Getting started with CLI: https://docs.openshift.org/latest/cli_reference/get_started_cli.html
Please give an example of chmod +x SELECTED_PATH