A simple Vagrant LAMP for development (Ubuntu 20.04 LTS (Focal Fossa), Apache 2, PHP 7.4, MySQL 8.0)
- VirtualBox - Free and open-source tool for virtual machines.
- Vagrant - Free and open-source tool that automates the creation of development environments within a virtual machine.
- Clone this repository or copy 'Vagrantfile' & 'vagrant.sh' files into your project folder
- Run
vagrant up
- URL:
http:https://localhost:4000
- MySQL:
http:https://localhost:4000/adminer
(username: root, password: pass123) - Synced folder:
vagrant ssh
&cd /vagrant
- phpMyAdmin: SSH into the running VM using
vagrant ssh
and runsudo apt install phpmyadmin
. MySQL password for root is: pass123
Enjoy!