This project provides a Vagrant configuration, and uses Puppet for provisioning.
Read the Getting Started With Vagrant page to install Vagrant.
git clone git://github.com/willdurand-edu/php-vm.git
vagrant up
Start the VM, then enjoy:
vagrant up
Directory (Host) | Directory (VM) | URLs |
---|---|---|
projects/ | /var/www/ | http://projects.33.33.33.10.xip.io/ |
http://33.33.33.10/ | ||
http://localhost:8080/ | ||
projects/sf2/ | /var/www/sf2/ | not accessible |
projects/sf2/web/ | /var/www/sf2/web/ | http://sf2.33.33.33.10.xip.io/ |
http://33.33.33.10:81/ | ||
http://localhost:8081/ | ||
projects/uframework/ | /var/www/uframework/ | not accessible |
projects/uframework/web/ | /var/www/uframework/web/ | http://uframework.33.33.33.10.xip.io/ |
http://33.33.33.10:82/ | ||
http://localhost:8082/ |
MySQL is running on the default port. The root
password is: root
.
The following databases are configured:
uframework
is configured for useruframework
(password:passw0rd
), with all privileges;sf2
is configured for usersf2
(password:passw0rd
), with all privileges;dummy
is configured for userjohn
(password:doe
), with all privileges.