runeleaf
12/11/2012 - 9:56 AM

gistfile1.sh

cd /usr/local/src
wget http://ftp.riken.jp/Linux/fedora/epel/5/x86_64/epel-release-5-4.noarch.rpm
rpm -ivh epel-release-5-4.noarch.rpm
yum -y install make gcc gcc-c++ zlib-devel openssl-devel httpd-devel curl-devel readline-devel tk-devel libyaml-devel ncurses-devel gdbm-devel sqlite-devel
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.tar.gz
tar zxvf ruby-1.9.3-p327.tar.gz
cd ruby-1.9.3-p327
./configure
make && make install
cd ..
yum -y install git httpd postgresql84-server postgresql84-devel mysql-server mysql-devel
yum -y install gcc44 gcc44-c++