Coder Social home page Coder Social logo

lamp-vagrant-chef-solo's Introduction

⚠️ This project is no longer maintained

LAMP development box with Vagrant and Chef Solo

Sets up a LAMP dev box running Ubuntu 14.04 LTS.

  • LAMP packages installed:
    • apache2
    • mysql-server
    • php5
    • php5-cli
    • php5-dev
    • php5-mysql
    • php-pear
    • xdebug
  • Other miscellaneous packages installed:
    • vim
  • Default Apache site enabled
  • Apache modules enabled
    • mod_rewrite
    • mod_alias
  • MySQL can be accessed from the host machine
    • host: 10.10.10.2
    • user: root
    • password: root
  • Sample composer.json included that contains useful QA + static analysis tools.
  • Xdebug installed and setup to allow remote debugging

Prerequisites

Usage

Setup and provision the box:

vagrant up

Once Vagrant has done its stuff, if you navigate to http://10.10.10.2/ in a browser you should see the default Apache welcome page.

To install QA + static analysis tools (from the host):

composer install --prefer-dist

FAQ's

How can i speed up provisioning?

At the top of the Vagrantfile there is the constant USE_PRECONFIGURED_LAMP_BOX which is set to false by default. If you set this to true a preconfigured LAMP base box will be used instead of a blank ubuntu base box. You should still leave the default recipes in the run list so any config values are set accordingly but any packages that these recipes install will already be installed on the base box speeding up provisioning significantly. You can see more information about the preconfigured base box here.

Notes

I have only tested this on OS X (>=10.9). In theory it should work on most operating systems, although Windows will probably have a problem using NFS for synced folders. See NFS alternatives here.

lamp-vagrant-chef-solo's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

baileyvw

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.