My Raspberry Pi Docs #2

Install Apache Web Server, PHP5, MySQL

$ sudo apt-get install apache2 -y

$ sudo apt-get install php libapache2-mod-php -y

Run MySQL Setup Script

$ sudo /usr/bin/mysql_secure_installation

Note: You will be prompted for a password for the MySQL root account. Remember it.