Turn Your Vehicle Into a Smart Earning Asset

While you’re not driving your car or bike, it can still be working for you. MOTOSHARE helps you earn passive income by connecting your vehicle with trusted renters in your city.

🚗 You set the rental price
🔐 Secure bookings with verified renters
📍 Track your vehicle with GPS integration
💰 Start earning within 48 hours

Join as a Partner Today

It’s simple, safe, and rewarding. Your vehicle. Your rules. Your earnings.

OpenShift: How to Install OpenShift CLI oc

Option – 1 – REDHAT Websites

URL – https://access.redhat.com/downloads/content/290/ver=4.18/rhel—9/4.18.11/x86_64/product-software

Option – 2 – OKD Websites

The OKD (Origin Community Distribution of Kubernetes for OpenShift) is the open-source version of OpenShift, and its CLI (oc) is freely available.

🔗 URL:

➡️ https://github.com/openshift/okd/releases

✔️ How to Download:

  1. Go to the latest OKD release.
  2. Download the archive for your platform:
    • openshift-client-linux.tar.gz
    • openshift-client-mac.tar.gz
    • openshift-client-windows.zip
  3. Extract it, and you’ll get:
    • oc (OpenShift CLI)
    • kubectl (Kubernetes CLI)

✅ No login or subscription required!

MacOS

This is actually a really quick process so this article is going to be short. This process will show you how to do the following:

  • How to Install Brew for MacOS
  • How to Install the OpenShift CLI using Brew
  • How to Utilize the Login Command with Token to Access a Cluster

Step 1. Install Brew for MacOS

Run the following command to install brew in a terminal window:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
or
brew install openshift-cli

Note: After you run the command there are some additional commands that will be asked to run in order to run brew. If this is not run successfully a command not found will display when running the brew command.

Step 2. Install the OpenShift CLI using Brew

Run the following command in the terminal to install the OpenShift (aka OC) CLI utility:

$ brew install openshift-cli

Windows

https://access.redhat.com/downloads/content/290/ver=4.18/rhel—9/4.18.8/x86_64/product-software

or

$ scoop install oc

Linux

https://access.redhat.com/downloads/content/290/ver=4.18/rhel—9/4.18.8/x86_64/product-software


mkdir /ocp-tools
wget https://mirror.openshift.com/pub/openshift-v4/clients/ocp/stable-4.6/openshift-client-linux.tar.gz -P /ocp-tools
wget https://mirror.openshift.com/pub/openshift-v4/clients/ocp/stable-4.6/openshift-install-linux.tar.gz -P /ocp-tools
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 versionCode language: JavaScript (javascript)

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x