Last active
August 29, 2015 14:00
-
-
Save leocosta/11299920 to your computer and use it in GitHub Desktop.
VirtualBox + Vagrant
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
Instale o Oracle VirtualBox | |
http://www.virtualbox.org/wiki/Downloads | |
Instale o Ruby + RubyGems | |
(recomendo usar o RVM https://rvm.io/) | |
Abra o terminal e execute os seguintes comandos: | |
(instalação do Vagrant - http://vagrantup.com/) | |
$ gem install vagrant | |
Quando finalizar a instalação, adicione a base do SO desejado, no seu caso, achei essa do Ubuntu 32bits: | |
$ vagrant box add precise64 http://files.vagrantup.com/precise64.box | |
Inicie a virtualização com o Vagrant: | |
$ vagrant init | |
E inicie a máquina: | |
$ vagrant up | |
Pronto. Pra acessar a sua VM via ssh, basta usar o seguinte comando: | |
$ vagrant ssh | |
Se precisar conhecer os outros comandos do Vagrant, use: | |
$ vagrant help |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment