Deploy a LAMP stack using Vagrant as your virtual machine manager. MySQL is replaced by MariaDB
Use Vagrant to deploy a LAMP stack with just few commands. If you want to check and learn more about Vagrant functionalities take a look at Vagrant Documentation and Vagrant cheat sheet
- Get inside this cloned repository
- Get inside Vagrant folder, there you'll find a Vagrantfile file with all the configuration needed to create and provision an Ubuntu virtual machine
- Execute this command to initialize and lift up the virtual machine.
vagrant up
- To SSH into the virtual machine execute
vagrant ssh
- When you're done and wish to destroy the virtual machine, execute and then confirm
vagrant destroy
- If you want to deploy this project manually without using Vagrant, get into Exercise1 folder and execute
sudo ./deploy_LAMP.sh
- If you want to destroy this project manually without using Vagrant, get into Exercise1 folder and execute
sudo ./destroy_LAMP.sh
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.