-
Notifications
You must be signed in to change notification settings - Fork 4
Vagrant box
Daniel Silva edited this page Jun 18, 2014
·
3 revisions
- Vagrant
- Virtualbox
To boot up vagrant you just need to run vagrant up
.
This command boots up the virtualbox if it exists. If it doesn't it will be downloaded and all needed software will be installed.
-
vagrant suspend
- Suspends the virtual machine. Very fast to boot up again. This should be done when no longer working with this virtual machine, or at the end of the day. -
vagrant ssh
- Ssh into the machine. -
vagrant halt
- Shutdown the virtual machine. It will take longer to boot. Useful when the machine is not behaving correctly. -
vagrant destroy
- REMOVES the machine. ALL DATA IS LOST. -
vagrant up --provision
- Re-runs the provisioning installing new software if needed.
- vim
- LAMP
- Mongo
- Phpmyadmin
- Genghis
- python xlrd
- php5-xsl
- phpunit
The webserver can be accessed through http://192.168.99.10/
.
It gives access to phpmyadmin, genghis, and airwolf.
Vagrant creates a virtual network between the vagrant box and the host, so nobody can directly access the vagrant machine.
However, if you want to access it from outside, there's a port forwarding from 80 (vagrant box) => 8080 (host), so you can access it through your_ip:8080