-
Notifications
You must be signed in to change notification settings - Fork 15
Instalacion VPS
Gustavo Beathyate edited this page May 8, 2014
·
11 revisions
Casi complemente robado de https://gorails.com/setup/ubuntu/14.04
Pendiente (por ahora imagen Ubuntu 14.04 Certified en Joyent)
entra por SSH:
ssh ubuntu@<ip-asignado-a-tu-vps>sudo apt-get update
sudo apt-get upgradesudo apt-get install git-core curl build-essentialsudo apt-get install zlib1g-dev libssl-dev libreadline-dev libyaml-dev libxml2-dev libxslt1-devgit clone git://github.com/sstephenson/rbenv.git .rbenv
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
exec $SHELLEn este caso hay un conflicto entre Readline 6.3 y Ruby 2.1.1, por lo general no se necesita poner nada antes de rbenv. Esto se va a solucionar cuando salga Ruby 2.1.2.
curl -fsSL https://gist.github.com/mislav/a18b9d7f0dc5b9efc162.txt | rbenv install --patch 2.1.1
rbenv global 2.1.1
ruby -vEl resultado de ese comando debería ser (puede variar un poco dependiendo de tu VPS):
ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux]gem install passenger
passenger-install-nginx-moduleEN PROCESO