-
-
Save mustmodify/6055063 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
brand new slice as root: | |
apt-get -y update | |
apt-get -y install build-essential zlib1g-dev libssl-dev libxml2-dev libxslt-dev libreadline6-dev libyaml-dev libmysqlclient-dev | |
cd /tmp | |
wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.gz | |
tar -xvzf ruby-2.1.2.tar.gz | |
cd ruby-2.1.2-p<tab> | |
./configure --prefix=/usr/local | |
make | |
make install | |
apt-get install git | |
apt-get install mysql-server mysql-client | |
apt-get install vim | |
gem install bundler | |
# PASSENGER / NGINX | |
# http://www.modrails.com/documentation/Users%20guide%20Nginx.html | |
gem install passenger | |
apt-get install libcurl4-openssl-dev # will be needed for passenger | |
passenger-install-nginx-module | |
wget "http://wiki.nginx.org/index.php?title=Nginx-init-ubuntu&action=raw&anchor=nginx" -O /etc/init.d/nginx | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment