Created
April 24, 2009 06:36
-
-
Save intabulas/100990 to your computer and use it in GitHub Desktop.
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
my slicehost steps | |
================== | |
sudo apt-get update | |
sudo apt-get upgrade | |
#time zone | |
sudo dpkg-reconfigure tzdata | |
sudo apt-get install ntp | |
sudo ntpdate ntp.ubuntu.com # Update time | |
adduser deploy | |
echo "deploy ALL=(ALL) ALL" >> /etc/sudoers | |
echo "alias \"ll=ls -lAgh\"" >> /home/deploy/.profile | |
echo "export PS1='\[\033[0;32m\]\h\[\033[0;36m\] \w\[\033[00m\]: '" >> /home/deploy/.bashrc | |
# mysql | |
sudo apt-get install mysql-server mysql-client libmysqlclient15-dev libmysql-ruby1.8 | |
# basic build tools before we do ruby, passenger, nginx, etc | |
sudo apt-get install build-essential zlib1g-dev libssl-dev libreadline5-dev | |
# SCM | |
sudo aptitude install -y subversion | |
sudo aptitude install -y git-core | |
# MISC | |
sudo aptitude install -y locate telnet elinks | |
sudo apt-get -y install ruby ruby1.8-dev libopenssl-ruby1.8 ri | |
sudo apt-get install imagemagick | |
sudo apt-get install libmagick9-dev | |
sudo gem install rmagick | |
# Install rubygems v.1.3 from source. | |
RUBYGEMS="rubygems-1.3.2" | |
wget http://rubyforge.org/frs/download.php/45905/$RUBYGEMS.tgz | |
tar xzf $RUBYGEMS.tgz | |
cd $RUBYGEMS | |
ruby setup.rb | |
cd .. | |
ln -s /usr/bin/gem1.8 /usr/bin/gem | |
# base gems | |
gem install rails --no-rdoc --no-ri | |
gem install rack thin sinatra capistrano --no-rdoc --no-ri | |
gem install rspec rdoc --no-rdoc --no-ri | |
gem install mysql tzinfo sqlite3-ruby --no-rdoc --no-ri | |
# REE | |
wget http://rubyforge.org/frs/download.php/51100/ruby-enterprise-1.8.6-20090421.tar.gz | |
tar xvfz ruby-enterprise-1.8.6-20090421.tar.gz | |
rm ruby-enterprise-1.8.6-20090421.tar.gz | |
cd ruby-enterprise-1.8.6-20090421/ | |
sudo ./installer | |
echo "export PATH=/opt/ruby-enterprise-1.8.6-20090421/bin:$PATH" >> .profile | |
# for ~/.gemrc | |
--- | |
:sources: | |
- http://gems.rubyforge.org | |
- http://gems.github.com | |
gem: --no-ri --no-rdoc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment