Skip to content

Instantly share code, notes, and snippets.

View ZhouMeichen's full-sized avatar

Michelle ZhouMeichen

View GitHub Profile

Install and Run Tomcat & Apache Solr on OpenShift

1. Install Tomcat 7

1) Create a DIY cartridge

$ rhc app create -a [appname] -t diy-0.1

2) Download Tomcat

$ rhc app ssh [appname]

Deploy Rails Application (Nginx+Unicorn+MySQL) onto OpenShift

1) Create a DIY cartridge and add a MySQL cartridge

$ rhc app create -a [appname] -t diy-0.1
$ rhc cartridge add -a [appname] -c mysql-5.1

2) Download and install RVM for Openshift

@xiy
xiy / README.md
Created May 30, 2012 01:53
Install Nginx+Unicorn on Red Hat OpenShift

Installing Nginx+Unicorn on Red Hat OpenShift

This set of scripts and config files will help you set up the awesome combination of Unicorn and Nginx as a server environment for Ruby web applications on Red Hat's OpenShift platform while I finish my cartridge.

Notes

  • Before you get started, you should read my post on how to set up Ruby 1.9 environment on OpenShift here: http://goo.gl/ufI5G This will (hopefully) get you started on building a Rails app on OpenShift the unofficial way (for now!).