This shell script will install the LAMP Stack interactively on Ubuntu server
Download the following shell script on your Ubuntu server or clone it with the following command.
git clone https://github.com/arbabnazar/Automated-LAMP-Installation.git
chmod +x lamp.sh
sudo ./lamp.sh