/skg-vagrant-lamp

My default LAMP development stack for Vagrant

Primary LanguageRuby

Vagrant LAMP

My default LAMP development stack configuration for Vagrant.

Installation:

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

What's inside:

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:

SKG-MUELHEIM

Eintraege fuer \etc\hosts

33.33.33.10 www.sportkegler-muelheim.loc

33.33.33.10 cdn.sportkegler-muelheim.loc

33.33.33.10 www.local.dev