LAMP-CentOS-with-Vagrant icon indicating copy to clipboard operation
LAMP-CentOS-with-Vagrant copied to clipboard

A vagrant based VM for PHP development under CentOS

LAMP Setup based on CentOS 6.3 with Vagrant / Puppet

Overview

I put together this configuration to get up a full LAMP environment based on CentOS. So you get a CentOS-VM with

  • Apache
  • MySQL
  • PHP
  • phpMyAdmin
  • ImageMagick
  • PHP Imagick

Attention: This is just a quick vagrant based VM for some of my local development and testing. Don't use this VM in a production environment.

Installation

Before you start: I am using a 64 bit version of CentOS as base box. So make sure that you can virtualize a 64 bit system.

Clone this repo


git clone https://github.com/pdaether/LAMP-CentOS-with-Vagrant.git .

or just download the source code as Zip file.

Start the VM:


vagrant up

Usage

Now, you can reach the webroot with http://localhost:8080. Also you can find a working installation of PhpMyAdmin under http://localhost:8080/phpMyAdmin/.

The Mysql password for root is empty.

To login into the VM type

vagrant ssh

To halt the VM:

vagrant halt