Skip to content

Instantly share code, notes, and snippets.

@leocosta
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leocosta/11299920 to your computer and use it in GitHub Desktop.
Save leocosta/11299920 to your computer and use it in GitHub Desktop.
VirtualBox + Vagrant
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