Skip to content

Instantly share code, notes, and snippets.

@msmith-thrillist
msmith-thrillist / gist:2788403
Created May 25, 2012 14:24
Running Puppet on RHEL 5
yum install -y gcc zlib zlib-devel openssl-devel
wget http://depot.thrillist.com/ruby/CURRENT
tar xvf CURRENT
cd ruby-1.8.7-p330
./configure --enable-pthread
make
make install
cd ..
rm -rf CURRENT
@msmith-thrillist
msmith-thrillist / unicorn
Created May 2, 2012 18:58
/etc/init.d script for unicorn
#!/bin/sh
#
# init.d script for single or multiple unicorn installations. Expects at least one .conf
# file in /etc/unicorn
#
# Modified by jay@gooby.org http://github.com/jaygooby
# based on http://gist.github.com/308216 by http://github.com/mguterl
#
## A sample /etc/unicorn/my_app.conf
##
@msmith-thrillist
msmith-thrillist / unicorn
Created May 2, 2012 18:58
/etc/init.d script for unicorn
#!/bin/sh
#
# init.d script for single or multiple unicorn installations. Expects at least one .conf
# file in /etc/unicorn
#
# Modified by jay@gooby.org http://github.com/jaygooby
# based on http://gist.github.com/308216 by http://github.com/mguterl
#
## A sample /etc/unicorn/my_app.conf
##
@msmith-thrillist
msmith-thrillist / gist:1441167
Created December 7, 2011 02:34
Base Install - New Server
yum install -y gcc zlib zlib-devel openssl-devel
yum install -y httpd mod_ssl php52 php52-cli php52-common php52-devel php52-gd php52-imap php52-mbstring php52-mcrypt php52-mysql php52-pdo php52-pear php52-pecl php52-pecl-apc php52-xml
wget http://depot.thrillist.com/ruby/CURRENT
tar xvf CURRENT
cd ruby-1.8.7-p330
./configure --enable-pthread
make
make install
cd ..
rm -rf CURRENT
@msmith-thrillist
msmith-thrillist / vagrant.org
Created September 21, 2011 21:19 — forked from zellyn/vagrant.org
Setting up a CentOS 5.4 base box for Vagrant