Created
September 5, 2009 01:47
-
-
Save bmentges/181255 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 update ######################################################################### | |
aptitude update | |
aptitude -y safe-upgrade | |
aptitude -y install ruby ruby1.8-dev libopenssl-ruby1.8 rdoc ri irb build-essential \ | |
wget ssl-cert autotools-dev fakeroot dh-make automake autoconf libtool \ | |
help2man libicu38 libreadline5-dev libicu-dev libcurl4-openssl-dev git-core \ | |
htop links curl screen vim ec2-api-tools lsb-base libxml2 libxml2-dev \ | |
libxslt1.1 libxslt1-dev xfsprogs sun-java6-jdk erlang-nox logrotate \ | |
python-simplejson whois dig | |
## Timezone ############################################################################## | |
ln -sf /usr/share/zoneinfo/America/Sao_Paulo /etc/localtime # dpkg-reconfigure tzdata | |
## Java (ec2-api) ######################################################################## | |
echo 'export JAVA_HOME=/usr/lib/jvm/java-6-sun' > /etc/profile.d/java.sh | |
chmod ugo+x /etc/profile.d/java.sh | |
source /etc/profile.d/java.sh | |
## Ruby Gems ############################################################################# | |
cd /tmp | |
wget http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz | |
tar -xvzf rubygems-1.3.5.tgz | |
cd rubygems-1.3.5 | |
ruby setup.rb | |
ln -s /usr/bin/gem1.8 /usr/bin/gem | |
cd | |
gem update --system | |
gem source -a http://gems.github.com/ | |
gem source -a http://gems.opscode.com/ | |
gem install rake thor jeweler activesupport ohai chef right_aws merb-slices eventmachine \ | |
amqp eventmachine json rspec --no-ri --no-rdoc | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment