A simple skeleton for setting up a LAMP stack for a PHP project.
-
Install Vagrant 1.2.x from the Vagrant downloads page
-
Install VirtualBox if needed (https://www.virtualbox.org/)
-
Install the Vagrant Berkshelf plugin
$ vagrant plugin install vagrant-berkshelf
-
Install the Vagrant HostManager plugin
$ vagrant plugin install vagrant-hostmanager
-
Add your project to a sub-directory
git submodule add <repository> <path>
-
Edit the
PROJECT_NAME
value in Vagrantfile to match your<path>
-
Run
vagrant up
-
Connect your browser to (http://192.168.92.68)
Note: Default passwords are set to vagrant