Last active
June 20, 2019 11:35
-
-
Save tom-code/ba7151d182801391f8b3ef214fa248c9 to your computer and use it in GitHub Desktop.
openshift origin on centos install
This file contains hidden or 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
yum -y install docker | |
cat << EOF >/etc/docker/daemon.json | |
{ | |
"insecure-registries": [ | |
"172.30.0.0/16" | |
] | |
} | |
EOF | |
systemctl enable docker | |
systemctl start docker | |
systemctl disable firewalld | |
systemctl stop firewalld | |
yum -y install centos-release-openshift-origin39 | |
yum -y install origin-clients | |
#change ip address to address of vm - this is where web interface will listen | |
oc cluster up --public-hostname=192.168.99.50 | |
oc login -u system:admin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment