Code Monkey home page Code Monkey logo

vagrant-lamp-bootstrap's Introduction

vagrant-lamp-bootstrap

A super-simple Vagrantfile / bootstrap.sh to setup a LAMP stack inside Vagrant 100% automatically.

Whaaaaat ?

This is a reduced-to-the-max Vagrant setup file for a quick development stack. It will:

  • setup a Ubuntu 14.04 LTS "Trustry Thar" 64bit box

  • make the box accessable by the host at IP 192.168.33.22

  • sync the current folder with /var/www/html inside the box

  • automatically perform all the commands in bootstrap.sh directly after setting up the box for the first time

The bootstrap.sh will:

  • update, upgrade

  • create a folder inside /var/www/html

  • install apache 2.4, php 5.5, MySQL, PHPMyAdmin, git and Composer

  • also setting a pre-chosen password for MySQL and PHPMyAdmin

  • activate mod_rewrite and add AllowOverride All to the vhost settings

You can folder and password inside the bootstrap.sh for sure.

How to use ?

Put Vagrantfile and bootstrap.sh inside a folder and do a vagrant up on the command line. This box uses Ubuntu 14.04 LTS "Trustry Thar" 64bit, so if you don't have the basic box already, do a vagrant box add ubuntu/trusty64 before.

Why ?

This is just my personal time-saving bootstrap for Vagrant, it might be useful for you too.

vagrant-lamp-bootstrap's People

Contributors

panique avatar

Watchers

James Cloos avatar  avatar

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.