Skip to content

Instantly share code, notes, and snippets.

@afahitech
Created June 23, 2021 17:24
Show Gist options
  • Save afahitech/ad92efcc84e4ae5030dc42b5c6c38410 to your computer and use it in GitHub Desktop.
Save afahitech/ad92efcc84e4ae5030dc42b5c6c38410 to your computer and use it in GitHub Desktop.
How to install Openshit in Ubuntu
# !/bin/sh
apt-get install docker.io -y
systemctl start docker
systemctl enable docker
systemctl status docker
wget https://github.com/openshift/origin/releases/download/v3.11.0/openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz
tar -xvzf openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz
cd openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit
cp oc kubectl /usr/local/bin/
oc version
systemctl restart docker
oc cluster up
https://IP:8443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment