/puppet

Primary LanguagePuppet

LAMP Stacks Made Easy with Vagrant & Puppet

Building a LAMP stack with Puppet and Vagrant to develop, test, and/or build the worlds next great application should be easy. Use this all inclusive code to quickly kickstart your next application environement.

Shout outs!

Credit must be given where credit is due. Most of this work was made possible by:

Prerequisites

Instructions

  1. Insure Vagrant and Virutal Box are installed.

  2. Install precise32 Vagrant box. (If not installed already)

     $ vagrant box add precise32 http://files.vagrantup.com/precise32.box
    
  3. Clone this repository.

  4. Create directory "webroot" in the root directory of the clone. This will act as your root web folder.

  5. Open up terminal, change directory to the git repo root, and start the vagrant box.

     $ vagrant up
    

You're all set up. The webserver will now be accessible from http://localhost:8888

System Package include

  • apache2 - rewrite mode enabled, having virtual host with config - refer manifest/vagrant_webroot.sample
  • php5
  • php5-cli
  • php5-mysql
  • php-pear - installed packages: phpunit and its dependencies
  • php5-dev
  • php5-gd
  • php5-mcrypt
  • libapache2-mod-php5
  • mysql-server
  • curl
  • vim
  • htop