sudo aptitude install apache2 libapache2-mod-auth-mysql php5-common php5 libapache2-mod-php5 php5-cli php5-cgi php5-mysql php5-curl mysql-server mysql-client phpmyadmin
Создаём пользователя mysql
mysql -u root
mysql> USE mysql;
mysql> UPDATE user SET Password=PASSWORD('новый-пароль') WHERE user='root';
mysql> FLUSH PRIVILEGES;