Common LAMP stack by using Vagrant with small automatization.
Lest follow steps below:
Before start be sure that you have already installed Hypervisor and Vagrant
So move on
- Create any folder where you will raise your Virtual Server.
- Run terminal and move to the location with the created folder. (cd \path\to\the\folder)
- After that, write a command - vagrant init ubuntu/bionic64
- Copy all files from a repository to a defined folder (overwrite Vagrantfile).
- Run vagrant up in terminal.
- Now, you could observe installation, updating and installation of the LAMP (Linux, Apache2, MySQL, PHPAdmin).
- MySQL & PHP will adjust automatically by using scripts.
- Up to your preferences, you could change index.html file in folder html.
- To check workability type 192.168.33.10 in web-browser.
!!!LAMP stack are ready!!!