Nginx, RVM, Unicorn, MySQL

by archan937
35 deployments · 3 still active · last rev. 2 years ago

This stackscript installs:

Nginx - https://github.com/nginx/nginx
RVM - https://rvm.io
Ruby - http://www.ruby-lang.org/en (at default: Ruby 2.0.0)
Unicorn - https://github.com/defunkt/unicorn
MySQL - http://www.mysql.com

/etc/init.d/unicorn - init.d script for single or multiple Unicorn installations
/usr/local/bin/mash - command line tool for basic templating

Optionally, you can create a user and generate a simple "Hello world!" Rack application.

See https://github.com/archan937/stackscripts/tree/master/linode

Compatible with: No distros currently supported
						#!/bin/bash

# <UDF name="hostname" label="Hostname">
# <UDF name="username" label="Username">
# <UDF name="password" label="Password">
# <UDF name="ruby" label="Ruby version" default="2.0.0">
# <UDF name="mysqlpassword" label="MySQL root password"/>
# <UDF name="application" label="Rack application">

\curl -L https://raw.github.com/archan937/stackscripts/master/ubuntu/nginx-rvm-unicorn-mysql.sh | bash