These instructions install ruby and rubygems from source, not from RPMs. For instructions on installing from RPMs, look at something like http://wiki.opscode.com/display/chef/Installation+on+RHEL+and+CentOS+5+with+RPMs or http://mykestubbs.com/blog/2010/03/chef-installation-on-centos-54.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 | |
## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 | |
## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |