Created
June 23, 2021 17:24
-
-
Save afahitech/ad92efcc84e4ae5030dc42b5c6c38410 to your computer and use it in GitHub Desktop.
How to install Openshit in Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# !/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