Skip to content

Instantly share code, notes, and snippets.

@israelb
Last active December 20, 2015 13:09
Show Gist options
  • Save israelb/6136752 to your computer and use it in GitHub Desktop.
Save israelb/6136752 to your computer and use it in GitHub Desktop.
Configurando un vagrant con chef y capistrano para el deploy
# Instalar primero VirtualBox
# Despues instalar la gema vagrant
gem install vagrant
# Descargar una BOX
vagrant box add base http://files.vagrantup.com/lucid32.box
# Iniciar vagrant, este hara un archivo llamado Vagrantfile en la ruta de donde se ejecuto
vagrant init
# Levantando la MV
vagrant up
# Accesando con ssh
vagrant ssh
#Instalando nginx
sudo su
# para ubuntu
apt-get install nginx
#para el squeeze debian
apt-get update
apt-get upgrade --show-upgraded
apt-get install nginx
# Instalando chef
gem install chef --no-rdoc --no-ri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment