Vagrant

From ElectroDragon Wiki
Revision as of 04:16, 6 February 2020 by Chao (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • 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