Install RedHat OpenShift Origin in your development box.
-
Create a VM as explained in https://youtu.be/aqXSbDZggK4 (this video) by Grant Shipley
-
Define mandatory variables for the installation process
# Domain name to access the cluster
$ export DOMAIN=<public ip addres>.nip.io
# User created after installation
$ export USERNAME=<current user name>
# Password for the user
$ export PASSWORD=password
- Define optional variables for the installation process
# Instead of using loopback, setup DeviceMapper on this disk.
# !! All data on the disk will be wiped out !!
$ export DISK="/dev/sda"
- Run the automagic installation script as root:
curl https://raw.githubusercontent.com/gshipley/installcentos/master/install-openshift.sh | /bin/bash
For development it's possible to switch the script repo
# Change location of source repository
$ export SCRIPT_REPO="https://raw.githubusercontent.com/gshipley/installcentos/master"
$ curl $SCRIPT_REPO/install-openshift.sh | /bin/bash