I'm trying to install LAMP with a script, without user interaction. What I'm doing:
sudo apt-get install -y tasksel sudo tasksel install lamp-server
Tasksel then asks me to set a root mysql server password. I either want to set this programatically (perhaps with an environment variable) or leave this as an empty password, which I can change manually later.