Installing OpenShift Origin

Installing OpenShift Origin

This post will cover installing OpenShift Origin on a single machine that will act as the master and node. A CentOS 7.1 virtual machine will be used for the installation and the virtual machine was only configured for 4 Gb of memory.

System Requirements


Operating System: Fedora 21, CentOS 7.1, or RHEL 7.1 with "Minimal" installation option
Processor: 2 vCPUs
Memory: 8Gb minimum
HD Space: 30 Gb


Step 1 - Install base packages

yum install wget git net-tools bind-utils iptables-services bridge-utils bash-completion

Step 2 - Update system packages

yum -y update

Step 3 - Install Docker

yum -y install docker

Step 4 - Use insecure Docker registry

sed -i "s\OPTIONS='--selinux-enabled'\OPTIONS='--selinux-enabled --insecure-registry'\g" /etc/sysconfig/docker

Step 5 - Start Docker service

service docker start

Step 6 - Install IPTables service

yum install iptables-services

Step 7 - Restart IPTables service

service iptables restart

Step 8 - Download OpenShift Origin binaries



Step 9 - Create an OpenShift directory to store executables

mkdir /openshift

Step 10 - Untar OpenShift Origin binaries

tar -xzf openshift-origin-v1.0.6-2695cdc-linux-amd64.tar.gz --directory=/openshift

Step 11 - Add OpenShift directory to the system path

export PATH=/openshift:$PATH

Step 12 - Launch OpenShift

/openshift/openshift start

Step 13 - Log into the web console

URL: https://ip_address:8443/console
Credentials: System credentials

A prompt to create a new project will show after successful login.


OpenShift Origin Documentation:

Subscribe to