3rd April 2007

Instalar Apache,PHP,MySql en Ubuntu 6.10

posted in Linux |

Instalar Apache

apt-get install apache2 php5 libapache2-mod-php5

Archivo de configuracion de Apache:

/etc/apache2/apache2.conf

Directorio Web:

/var/www

Crear test.php para checkear el correcto funcionamiento de apache:

nano /var/www/test.php

Instalar MySQL

apt-get install mysql-server mysql-client php5-mysql

Cambiar la contraseña del root:

mysql -u root
mysql> USE mysql;
mysql> UPDATE user SET Password=PASSWORD(’new-password’) WHERE user=’root’;
mysql> FLUSH PRIVILEGES;

Instalar phpmyadmin

Añadir en el archivo /etc/apt/sources.list las siguientes lineas:

deb http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse

apt-get update
apt-get install phpmyadmin

Archivo de configuracion:

/etc/phpmyadmin

Añadir la linea (Include /etc/phpmyadmin/apache.conf) en el archivo /etc/apache2/apache2.conf

/etc/init.d/apache2 restart

This entry was posted on Tuesday, April 3rd, 2007 at 17:37 and is filed under Linux. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply