Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 761 Bytes

oc-cluster.md

File metadata and controls

20 lines (14 loc) · 761 Bytes

Local OpenShift Container Platform 3.5 Setup on Linux

  1. Download and install the OpenShift CLI from Red Hat Customer Portal

  2. Start up a cluster using oc cluster.

oc cluster up --metrics

Note: use --public-hostname option with oc cluster to specify the network address

  1. Remove installed imagestreams and install the RHEL and JBoss imagestreams
oc login -u system:admin
oc delete is --all -n openshift
oc create -f https://raw.githubusercontent.com/openshift/origin/master/examples/image-streams/image-streams-rhel7.json -n openshift
oc create -f https://raw.githubusercontent.com/jboss-openshift/application-templates/master/jboss-image-streams.json -n openshift