Vagrant

From ElectroDragon
Jump to: navigation, search
  • pre-Install VirtualBox
  • pre-Install Git SCM

Basic command

  • Turn on the virtual machine
vagrant up
  • Access the vagrant:
vagrant ssh
  • Shutdown the virtual machine
vagrant halt

After enter into vritual machine, you can see the welcome message and command line in ubuntu

vagrant@vagrant-ubuntu-trusty-64:~$ 
  • More commands can be found here:
docs.vagrantup.com/v2/cli/index.html