Last active
December 20, 2015 13:09
-
-
Save israelb/6136752 to your computer and use it in GitHub Desktop.
Configurando un vagrant con chef y capistrano para el deploy
This file contains hidden or 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
# 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 |
This file contains hidden or 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
#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 |
This file contains hidden or 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
# 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