Skip to content

Instantly share code, notes, and snippets.

@DEALTALFA
Last active March 17, 2021 07:45
Show Gist options
  • Save DEALTALFA/92c0288215c020908de1e5fc17118db7 to your computer and use it in GitHub Desktop.
Save DEALTALFA/92c0288215c020908de1e5fc17118db7 to your computer and use it in GitHub Desktop.
# Install openshift on AWS ec2 type=t2.medium on Centos
#InstanceType= centos7 +HVM , install docker by running yum install docker -y
#username=developer password= developer
#!/usr/bin/bash
yum install wget -y
#put Openshift url accordingly from (https://github.com/openshift/origin/releases)
wget https://github.com/openshift/origin/releases/download/v3.9.0-alpha.3/openshift-origin-client-tools-v3.9.0-alpha.3-78ddc10-linux-64bit.tar.gz
tar -xzvf openshift-origin-client-tools-v3.9.0-alpha.3-78ddc10-linux-64bit.tar.gz
cp openshift-origin-client-tools-v3.9.0-alpha.3-78ddc10-linux-64bit/oc /usr/local/bin/
oc cluster up --routing-suffix=<Pub.IP>.nip.io --public-hostname=<public DNS>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment