Install the Operating System
NOTE: At this time we only support openSuSE. We are looking for help porting this process to other platforms.
Download the image from openSuSE: http://download.opensuse.org/distribution/13.2/iso/openSUSE-13.2-DVD-x86_64.iso
- Install the image on bare metal or a VM and configure the network.
- Recommended at least 60GB in root filesystem, 6GB of RAM
- Here is an example on how to install the ISO in a vCenter instance
It is recommended for the time being you do NOT accept OpenSUSE software updates to your system until we've had a chance to determine how those updates impacts the software we're installing below. Allowing software updates to occur before performing the steps in this wiki may result in your CoprHD services failing to deploy.
NOTE: To install the minimun set of packages to get started, install git and make:
Get the Source
Be sure Git knows who you are!
Anywhere you clone the source, it's important to configure Git with your name and email address before making any commits. Per CoprHD's DCO requirement, the name should be your real name and the email address should match the one associated with your Stash username.
Configure Your Development Environment
You can setup/update your developer environment in a single line (as the root user) that configures the OS with all requirements needed to start building CoprHD:
If you would like to perform a step by step configuration you can also run scripts to setup the operating system. Note that if you have a development environment ready, you can also run one of the substeps from below to configure specific items (additional repositories, RPM dependencies, java versions, etc.), but there is no need to run them after running the command from above.
Configure Additional RPM Repositories
In order to install all of the packages CoprHD requires, additional package repositories must be added. You can do this using the commands below:
Install Additional RPMs
Now that you have the extra package repositories configured, install additional RPMs needed by CoprHD:
Install Patched Nginx Server
CoprHD uses Nginx as a reverse proxy/load balancer and it needs extra patches beyond those found in the standard openSUSE RPM. Follow these steps to install or replace the existing nginx with the required version:
Configure Java 8
Make Java 8 the default Java environment on the host:
Create the storageos user and group
To add the user and group, run the following: