Notes
Bash script to install a LAMP stack
my bash script that installs apache, mysql, php and phpmyadmin with a few tweaks on debian and ubuntu servers
Bash Scripting
The following script installs Apache, MySQL and PHP as well as PHPMyAdmin and some tweaks. For Debian based systems including Ubuntu. To install, copy the script to the server and run in the same folder you copied the file to by running the command:
1bash lamp.sh
Here is the script code: