Created
February 27, 2011 15:43
-
-
Save fredoliveira/846267 to your computer and use it in GitHub Desktop.
Ubuntu 10.04 LTS Bootstrap script
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
# system, ruby, apache | |
apt-get update | |
apt-get upgrade | |
apt-get install ruby ruby-dev libopenssl-ruby rdoc ri irb build-essential wget ssl-cert apache2 libcurl4-openssl-dev libssl-dev zlib1g-dev apache2-prefork-dev libapr1-dev libaprutil1-dev git-core libxml2-dev libxslt-dev mysql-server | |
# rubygems | |
cd /tmp | |
wget http://production.cf.rubygems.org/rubygems/rubygems-1.5.3.tgz | |
tar zxf rubygems-1.5.3.tgz | |
cd rubygems-1.5.3 | |
ruby setup.rb --no-format-executable | |
# gemrc | |
echo 'gem: --no-ri --no-rdoc' >> /etc/gemrc | |
# passenger | |
gem install passenger | |
passenger-install-apache2-module |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment