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.
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
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