Skip to content

Instantly share code, notes, and snippets.

View DanielTheFirst's full-sized avatar

Daniel Reslie DanielTheFirst

  • Right here.
View GitHub Profile
#!/bin/sh
#
# One script to rule them all 2: Unicorn Strikes back
#
# Install Nginx from source and Install Unicorn
# Then configure such
#
# Author: Daniel Reslie
# Date: 2/21/2011
#
# the majority of this script originally came from the book Deploying Rails Applications by Ezra Zygmuntowicz, Bruce Tate, and Clinton
# Begin. I don't know the copyright status of the script so guys please don't sue me.
# user and group to run as
user daniel daniel;
# Nginx uses a master -> worker configuration.
# number of nginx workers, 4 is a good minimum default
# when you have multiple CPU cores I have found 2-4 workers
# per core to be a sane default.
#!/bin/sh
#
# Install ruby on rails
#
# Author : Daniel Reslie
# Date : 2/15/2011
#
RUBY_VERSION = 1.9.2-p136
LOCAL_USER = daniel