Skip to content

Instantly share code, notes, and snippets.

@tom-code
Last active June 20, 2019 11:35
Show Gist options
  • Save tom-code/ba7151d182801391f8b3ef214fa248c9 to your computer and use it in GitHub Desktop.
Save tom-code/ba7151d182801391f8b3ef214fa248c9 to your computer and use it in GitHub Desktop.
openshift origin on centos install
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