linux:vagrant
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
linux:vagrant [2014/05/13 22:27] – percy | linux:vagrant [2016/05/05 13:07] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 10: | Line 10: | ||
https:// | https:// | ||
+ | |||
+ | ====== Vagrant start... ====== | ||
+ | <code BASH> | ||
+ | |||
+ | mkdir ubuntu | ||
+ | cd ubuntu | ||
+ | vagrant init | ||
+ | vagrant box list | ||
+ | vim Vagrantfile | ||
+ | // set to hashicorp/ | ||
+ | vagrant up | ||
+ | vagrant ssh | ||
+ | </ | ||
+ | |||
+ | |||
+ | ====== Usage ====== | ||
+ | <code BASH> | ||
+ | git clone https:// | ||
+ | cd vagrant/ | ||
+ | vagrant up | ||
+ | vagrant ssh | ||
+ | |||
+ | </ | ||
+ | |||
+ | <code BASH> | ||
+ | |||
+ | vagrant reload | ||
+ | vagrant halt | ||
+ | vagrant up | ||
+ | </ | ||
+ | |||
+ | vagrant box add pengjianqing/ |
/var/www/dokuwiki/wiki/data/pages/linux/vagrant.txt · Last modified: 2022/06/20 17:19 by jianqing