This version was created over 2 years ago. This is the currently released version. v1.1

Setup

$ vagrant init adammbalogh/lemp

configure (e.g. private network in your Vagrantfile)

$ vagrant up

Private network

For the sake of simplicity set a private network in your Vagrantfile!

config.vm.network :private_network, ip: "192.168.10.30"

Vagrantfile

# -*- mode: ruby -*-
# vi: set ft=ruby :

VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  config.vm.box = "adammbalogh/lemp"

  config.vm.network "private_network", ip: "192.168.10.30"
  config.vm.synced_folder "application/", "/var/www/application/"

  config.vm.provider "virtualbox" do |vb|
    vb.customize ["modifyvm", :id, "--memory", "512"]
    vb.customize ["modifyvm", :id, "--cpuexecutioncap", "20"]
    vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
  end
end

Virtual host

Now you can reach the app virtual host on the 192.168.10.30 address on port 80. On port 8080 you'll find 2 tools: phpmyadmin and webgrind

The root directory of the app virtual host is /var/www/application/public. The tools are in the /var/www/tools dir.

Components

  • ubuntu 14.04
  • git
  • openssl
  • nginx 1.6
  • php 5.5 (fpm)
  • xdebug (with web and cli debugging by default)
  • composer
  • mysql 5.5 (root : root)
  • nodejs 0.10.30
  • redis
  • tools
    • phpmyadmin
    • webgrind

Box source

This box has made with SaltStack provisioning system. You can find the source and states here on github

by @adammbalogh

virtualbox External vagrant init adammbalogh/lemp; vagrant up --provider virtualbox
1 provider for this version.

October 30 2014, 16:08 UTC

This version was created almost 3 years ago. This version has been revoked. v1.0

There isn't a description.

virtualbox External vagrant init adammbalogh/lemp; vagrant up --provider virtualbox
1 provider for this version.

August 5 2014, 21:27 UTC