It creates a simple LAMP (Linux, Apache, MySQL, PHP) stack on Vagrant by using a provisioning script.
Vagrant is an open-source tool that creates and configures virtual development environments, in a quick and easy-to-use way.
- VirtualBox
- Vagrant
- Git
$ git clone [email protected]:raserma/simple-vagrant-lamp-server.git
$ cd simple-vagrant-lamp-server
$ vagrant up
$ vagrant ssh
Apache server is available at http://localhost:8080
username: root password: 1234
username: guest password: guest
Make a change to ./src/init.php
, save it and reload the page. You will see the change inmediately.
The ./src
directory is setup as the web document root. Any changes made under this folder will be instantly changed in your browser, after reloading the page localhost:8080/init.php.
phpMyAdmin is available at localhost:8080/phpMyAdmin
- Cent0S 6.4 64 bit
- Apache/HTTPD
- PHP 5.1.6
- MySQL 5.1
- phpMyAdmin tool