vagrant-debian-php-vm
vagrant-debian-php-vm copied to clipboard
Vagrant: Debian VM (wheezy 64bit) with PHP 5.5.7, MySQL, Nginx, Redis
Vagrant: Debian VM (wheezy 64bit) with PHP 5.5.7, MySQL 5.5, Nginx, Redis, MongoDB
Vagrant + Puppet installation of Debian focusing on PHP development.
Introduction
This vagrant/puppet build installs the following:
- PHP 5.5.7
- Nginx
- PHP-FPM
- Redis
- Memcached
- MySQL 5.5.X
- ElasticSearch
- RabbitMQ
- MongoDB
The following PECL extensions are installed as well:
- amqp
- curl
- imagick
- jsmin
- memcached
- mongo
- redis
- uuid
- xdebug
- xhprof
Installation
The following instructions are specific to OSX.
Requirements
- OSX 10.8+
- Vagrant
Install Vagrant
Download and install vagrant (1.2.2+): http://downloads.vagrantup.com
Clone the git repository
Clone the repository in your prefered location, initialize submodules, and update:
$ git clone https://github.com/sqmk/vagrant-debian-php-vm --recursive
--recursive is important, as you want to initialize and update the submodules included in this repo.
Vagrant up
From the root of the directory of the cloned project, vagrant up:
$ cd vagrant-debian-php-vm
$ vagrant up
Note: You may be prompted with your OSX password during the point where NFS is enabled. You must provide your password to proceed.
Usage
The host IP is 192.168.1.121.
The following ports have been exposed for the following services:
- Nginx: 80
- ElasticSearch: 9200