Skip to content

oc cluster up quick setup over public domain

Chakradhar Rao Jonagam edited this page Oct 29, 2016 · 2 revisions

#!/bin/bash yum update -y subscription-manager register --username=user --password=password--force

subscription-manager attach --pool=$(subscription-manager list --available --matches "Red Hat OpenShift Container Platform" --pool-only)

subscription-manager repos --disable='*'

subscription-manager repos --enable="rhel-7-server-rpms" --enable="rhel-7-server-extras-rpms" --enable="rhel-7-server-ose-3.3-rpms"

yum install docker-1.10.3 -y

systemctl restart docker

yum install atomic-openshift-clients.x86_64 -y

sed -i '/OPTIONS=.*/c\OPTIONS="--selinux-enabled --insecure-registry 172.30.0.0/16"'
/etc/sysconfig/docker

echo "ssh-rsa t+Gi8gtmZatAMBRaWDki+YxnhVx80EJXQAvaiqn [email protected]" >> /root/.ssh/authorized_keys

Clone this wiki locally