安装记录

Rails:

1、

apt-get install curl
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)

reload

rvm requirements
apt-get install ****** git
rvm install 1.9.3

.bashrc ADD:

[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
rvm use 1.9.3 --default
gem update --system

2、

apt-get install nginx
gem install thin
thin install

3、

apt-get install imagemagick
apt-get install libmagickwand-dev
gem install rmagick

4、

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:chris-lea/node.js 
sudo apt-get update 
sudo apt-get install nodejs

PHP:

apt-get install php5-cgi
apt-get install spawn-fcgi
apt-get install php5-mysql
spawn-fcgi -a 127.0.0.1 -p 9000 -C 5 -u nobody -f /usr/bin/php-cgi

Error:

thin install Permission denied - /etc/init.d/thin

Solve:

rvmsudo thin install

你可能感兴趣的:(安装)