1. Instala MySQL:
sudo apt-get install mysql-client mysql-server
Te pedirá que definas una clave para el superusuario “root”.
2. Instala Apache2:
sudo apt-get install apache2
Si todo funcionó bien deberías poder ingresar al sitio http://localhost y ver el mensaje: “It works!. This is the default web page for this server. The web server software is running but no content has been added, yet.”
3. Instala PHP5
sudo apt-get install php5 libapache2-mod-php5
4. Reinicia Apache
sudo /etc/init.d/apache2 restart
5. Instala los paquetes los paquetes adicionales que te ayudan, por ejemplo, a que MySQL, PHP y Apache funciones juntos correctamente.
sudo apt-get install php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl php5-json
6. Instala phpmyadmin
sudo apt-get install phpmyadmin
Te preguntará por el servidor que trabajará con phpmyadmin. Luego de seleccionar Apache ya debería poder entrar al sitio http://localhost/phpmyadmin/ (si no funciona intenta reiniciando Apache nuevamente). En este punto ya deberías poder entrar en phpmyadmin con el usuario “root” y clave que ingresaste al configurar MySQL.
7. Si todavía no funciona procede a editar el archivo apache2.conf
sudo gedit /etc/apache2/apache2.conf
Y agrega al final del mismo lo siguiente:
Include /etc/phpmyadmin/apache.conf
Estos pasos funcionaron usando Ubuntu 10.10


