Skip to content

Instantly share code, notes, and snippets.



Forked from radar/gist:249555
Created Feb 10, 2010
What would you like to do?
# You can run this on your server by doing this:
# bash -c "`wget -O -`"
# If you don't have wget, use curl.
echo "Need your password to update time & install things:"
sudo ntpdate
sudo apt-get -y update
sudo apt-get -y install build-essential mysql-server libmysqlclient15-dev apache2 libssl-dev apache2-prefork-dev libapr1-dev libaprutil1-dev zlib1g zlib1g-dev
mkdir ruby
cd ruby
wget --progress=bar -O - | tar -zxf - --strip-components 1
echo "Need your password to install Ruby:"
sudo make install
cd ext/openssl
ruby extconf.rb
sudo make install
cd ~
sudo rm -rf ruby
sudo gem install mysql passenger rails
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment