All Projects → r8 → Vagrant Lamp

r8 / Vagrant Lamp

My default LAMP development stack for Vagrant

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Vagrant Lamp

Drupal Vm
A VM for Drupal development
Stars: ✭ 1,348 (+76.21%)
Mutual labels:  development, local, vagrant
Beetbox
Pre-provisioned L*MP stack
Stars: ✭ 94 (-87.71%)
Mutual labels:  development, local, vagrant
nustuff
Useful scripting and Linux configuration examples
Stars: ✭ 39 (-94.9%)
Mutual labels:  vagrant, chef
opnsense-starterkit
Try opnsense, build opnsense images or start development
Stars: ✭ 18 (-97.65%)
Mutual labels:  vagrant, development
sitecore-packer
Packer templates for Sitecore development with IIS, SOLR and SQL Server on Windows
Stars: ✭ 19 (-97.52%)
Mutual labels:  vagrant, chef
devproxy
A local development http proxy with hosts spoofing written in Go
Stars: ✭ 35 (-95.42%)
Mutual labels:  development, local
easydock
Dockerize your PHP apps ;)
Stars: ✭ 52 (-93.2%)
Mutual labels:  development, local
vagrant-xfce4-ubuntu
Vagrant-based development environment using Ubuntu and the Xfce Desktop Environment
Stars: ✭ 17 (-97.78%)
Mutual labels:  vagrant, development
Vagrant Butcher
Delete Chef client and node when destroying Vagrant VM
Stars: ✭ 127 (-83.4%)
Mutual labels:  chef, vagrant
ansible-roles
Library of Ansible plugins and roles for deploying various services.
Stars: ✭ 14 (-98.17%)
Mutual labels:  vagrant, lamp
vagrant
Development repository for the vagrant cookbook
Stars: ✭ 54 (-92.94%)
Mutual labels:  vagrant, chef
Lando
A development tool for all your projects that is fast, easy, powerful and liberating
Stars: ✭ 3,142 (+310.72%)
Mutual labels:  development, local
Packer
Packer helpers and templates for Docker, IIS, SQL Server and Visual Studio on Windows and Ubuntu
Stars: ✭ 242 (-68.37%)
Mutual labels:  chef, vagrant
Chef Bcpc
Bloomberg Clustered Private Cloud distribution
Stars: ✭ 205 (-73.2%)
Mutual labels:  chef, vagrant
wp-cli-dev
🛠 WP-CLI development environment that allows for easy development across all packages
Stars: ✭ 29 (-96.21%)
Mutual labels:  development, local
Macos Cookbook
A Chef cookbook used to provision macOS
Stars: ✭ 183 (-76.08%)
Mutual labels:  chef, vagrant
web-dev-blog
Мой блог на русском
Stars: ✭ 99 (-87.06%)
Mutual labels:  vagrant, chef
Dotenv Flow
Loads environment variables from .env.[development|test|production][.local] files for Node.js® projects.
Stars: ✭ 537 (-29.8%)
Mutual labels:  development, local
Vagrant Lamp Bootstrap
A super-simple Vagrantfile / bootstrap.sh to setup a LAMP stack inside Vagrant 100% automatically
Stars: ✭ 132 (-82.75%)
Mutual labels:  lamp, vagrant
Workstations
Vagrant virtual workstations and development environments with Visual Studio, Docker, IIS and SQL Server on Windows for .NET development
Stars: ✭ 45 (-94.12%)
Mutual labels:  chef, vagrant

Vagrant LAMP

Gitter

My default LAMP development stack configuration for Vagrant.

Requrements

  • Virtualbox
  • Vagrant >= 1.7.0
  • vagrant-omnibus plugin

Installation:

Download and install VirtualBox

Download and install vagrant

Install vagrant-omnibus plugin

$ vagrant plugin install vagrant-omnibus

Clone this repository

Go to the repository folder and launch the box

$ cd [repo]
$ vagrant up

What's inside:

Installed software:

Notes

Apache virtual hosts

You can add virtual hosts to apache by adding a file to the data_bags/sites directory. The docroot of the new virtual host will be a directory within the public/ folder matching the host you specified. Alternately you may specify a docroot explicitly by adding a docroot key in the json file.

Default preconfigured host is local.test.

Accessing your hosts via your local web browser

In order to access vagrant hosts via your local browser you will need to edit your hosts file (/private/etc/hosts in Macs, c:\Windows\System32\Drivers\etc\hosts in Windows, /etc/hosts in Linux). All hosts should be mapped to 192.168.33.10:

192.168.33.10 local.test someyourotherhost.test

MySQL

The guests local 3306 port is available on the host at port 33066. It is available on every domain. Logging in can be done with username=root, password=vagrant.

phpMyAdmin

phpMyAdmin is available on every domain. For example:

http://local.test/phpmyadmin

XDebug and webgrind

XDebug is configured to connect back to your host machine on port 9000 when starting a debug session from a browser running on your host. A debug session is started by either by appending GET variable XDEBUG_SESSION_START to the URL or setting XDEBUG cookie (if you use an integrated debugger like Eclipse PDT it will do this for you).

XDebug is also configured to generate cachegrind profile output on demand by adding GET variable XDEBUG_PROFILE to your URL. For example:

http://local.test/index.php?XDEBUG_PROFILE

Webgrind is available on each domain. For example:

http://local.test/webgrind

It looks for cachegrind files in the /tmp directory, where xdebug leaves them.

Note: xdebug uses the default value for xdebug.profiler_output_name, which means the output filename only includes the process ID as a unique part. This was done to prevent a real need to clean out cachgrind files. If you wish to configure xdebug to always generate profiler output (xdebug.profiler_enable = 1), you will need to change this setting to something like

xdebug.profiler_output_name = cachegrind.out.%t.%p

so your call to webgrind will not overwrite the file for the process that happens to serve webgrind.

MailHog

All emails sent via local mail transport are intercepted by MailHog. So normally no email would be delivered outside of the virtual machine. Instead you can check messages using web frontend for MailHog, which is running on port 8025 and also available on every domain:

http://local.test:8025

Composer

Composer binary is installed globally (to /usr/local/bin), so you can simply call composer from any directory.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].