My default LAMP development stack configuration for Vagrant.
Install vagrant
$ gem install vagrant
Download and Install VirtualBox
Download a vagrant box (name of the box is supposed to be lucid32)
$ vagrant box add lucid32 http://files.vagrantup.com/lucid32.box
Clone this repository
Go to the repository folder and launch the box
$ cd [repo]
$ vagrant up
Installed software:
- Apache
- MySQL
- php
- phpMyAdmin
- Xdebug with Webgrind
- zsh with oh-my-zsh
- git, subversion
- mc, vim, screen, tmux, curl
- MailCatcher
Apache virtual hosts are created in public
folder or optionally in a per site configurable docroot and configured with data bag sites
.
Webgrind and phpMyAdmin are available on every domain. For example:
PHP is configured to send mail via MailCatcher. Web frontend of MailCatcher is running on port 1080 and also available on every domain: