I would like to run a LAMP server with a webmin interface on my raspberry pi.
I am running the latest Raspbian. I have found some packages useful for parts of this, such as:
sudo apt-get install apache2 php5 mysql-server
...but I'm sure there should be more involved than that.
As for webmin, I tried the obvious:
sudo apt-get install webmin
..but it did not appear to find a package. I see that sourceforge has a .deb package up here:
http://sourceforge.net/projects/webadmin/files/webmin/1.720/
Can I install webmin on the Pi from the .deb package? And can I do it from the command line and completely from the Pi from SSH?
I would like it to be easy to install this entire LAMP / webmin setup on a fresh Raspberry Pi at will, as I like to experiment a lot. So, how can I write a bash shell script to automatically install the LAMP stack and webmin into a functional state? What is required?
NOTE: I have discovered how to do this and am going to share by answering my own question, below.