Skip to content

davidlonjon/vagrant-salt-lamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vagrant Salt LAMP

This allows to create basic LAMP development environment in a virtual machine managed by Vagrant and Salt.

Requirements:

Reading about Virtualbox, Vagrant and Salt is highly recommended. Basic understnading of YAML will help to in order to modify the settings files

Additional Optional Vagrant Plugins:

See list of more plugins at: https://github.com/mitchellh/vagrant/wiki/Available-Vagrant-Plugins

Installation

curl -L https://github.com/davidlonjon/vagrant-salt-lamp/archive/master.tar.gz | tar zx

Usage

Go into the extracted directory cd vagrant-salt-lamp-master

Edit settings.yml & ./shares/srv/pillar/settings.sls to be specific to your project

  • vi settings.yml
  • vi ./shares/srv/pillar/settings.sls

Run vagrant vagrant up

SSH into your newly created virtual machine vagrant ssh in which you should have a full LAMP stack.

What'll get

Installed Software

By default:

A Vagrant/Virtualbox virtual machine installed with Ubuntu Precise64

Inside the VM:

  • Default tools:
    • git
    • curl
    • vim
    • tmux
    • screen
    • htop
    • mytop
    • nmon
    • perl and perl libraries which will allow to install manually innotop
  • Apache
  • MySQL
  • php
  • phpMyAdmin

Defaults

Issues:

  • Removal of hosts entries on host machine does not seems to work

Notes

Only been test on MAC (Tested on Lion OSX 10.8.4) as host and Ubunut Precise64 (12.04) as guest.

It is unlikely to work on Windows.

Todo

Possible add the following to the setup:

  • Jenkins
  • Redis
  • Postfix
  • Jasmine
  • Karma Test Runner
  • Coffeescript
  • Express HTTP
  • dnsmasq

Credits

This project and code have been directly inspired by or copied from:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published