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
(https://docs.openshift.org/latest/install_config/install/prerequisites.html#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
Installation
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 172.30.0.0/16'\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
(https://github.com/openshift/origin/releases)
wget https://github.com/openshift/origin/releases/download/v1.0.6/openshift-origin-v1.0.6-2695cdc-linux-amd64.tar.gz
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.
References
OpenShift Origin Documentation: https://docs.openshift.org/latest/getting_started/administrators.html