instalacion servidor apache

4
8/7/2019 Instalacion Servidor Apache http://slidepdf.com/reader/full/instalacion-servidor-apache 1/4 Instalación servidor web en Ubuntu 10.10 server La configuración de este web server es por defecto, así que no se aconseja en ningún caso usarlo para producción ya que no tiene configurada ninguna opción de seguridad. Empecemos. Una vez que hemos accedido al sistema tenemos que instalar todo lo necesario para publicar webs, en este caso vamos a instalar el apache, php y mysql para instalar más adelante un CMS. sudo apt-get install apache2 sudo apt-get install php5 sudo apt-get install libapache2-mod-auth-mysql php5-mysql  Ahora procedemos a la instalación y configuración del servidor mysql sudo apt-get install mysql-server Mientras se configura nos solicita una contraseña de acceso root Es recomendable ponerle una contraseña para que no nos dé problemas mientras se configuran otros servicios, además, todo lo que sea root TIENE QUE IR CON CONTRASEÑA.

Upload: yaloc

Post on 08-Apr-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Instalacion  Servidor Apache

8/7/2019 Instalacion Servidor Apache

http://slidepdf.com/reader/full/instalacion-servidor-apache 1/4

Instalación servidor web en Ubuntu 10.10 server

La configuración de este web server es por defecto, así que no se aconseja en ningún casousarlo para producción ya que no tiene configurada ninguna opción de seguridad.

Empecemos.

Una vez que hemos accedido al sistema tenemos que instalar todo lo necesario para publicarwebs, en este caso vamos a instalar el apache, php y mysql para instalar más adelante un CMS.

sudo apt-get install apache2sudo apt-get install php5sudo apt-get install libapache2-mod-auth-mysql php5-mysql

 Ahora procedemos a la instalación y configuración del servidor mysql

sudo apt-get install mysql-server

Mientras se configura nos solicita una contraseña de acceso root 

Es recomendable ponerle una contraseña para que no nos dé problemas mientras se configuranotros servicios, además, todo lo que sea root TIENE QUE IR CON CONTRASEÑA.

Page 2: Instalacion  Servidor Apache

8/7/2019 Instalacion Servidor Apache

http://slidepdf.com/reader/full/instalacion-servidor-apache 2/4

 

 Ahora reiniciamos el servidor apache.

sudo /etc/init.d/apache2 restart 

 Ahora le toca el turno a phpmyadmin

sudoapt-getinstallphpmyadmin

Seleccionamos la configuración que queremos, en este caso lo configuramos para apache2 quees lo que tenemos instalado

Seleccionamos SI

The image cannot be displayed. Your computer may not have enough memory toopen the image, or the image may have been corru pted. Restartyour computer, and then open the fileagain. If the red x still appears, you may have todelete the image and then insert it again.

The image cannotbe displayed. Your computer may nothave enough memory toopen theimage, or the image may have been corrupted. Restartyour computer, and then open the fileagain. If the red x still appears, you may have todelete the image and then insert it again.

Page 3: Instalacion  Servidor Apache

8/7/2019 Instalacion Servidor Apache

http://slidepdf.com/reader/full/instalacion-servidor-apache 3/4

 

Ponemos la contraseña que elegimos para mysql.

 Ahora configuramos la contraseña para phpmyadmin

Confirmamos.

 Ya tenemos configurado phpmyadmin ahora reiniciamos el servicio

sudo /etc/init.d/apache2 restart 

The image cannotbe displayed. Your computer may nothave enough memory toopen theimage, or the image may have been corrupted. Restartyour computer, and then open the fileagain. If the red x still appears, you may have todelete the image and then insert it again.

The image cannotbe displayed. Your computer may nothave enough memory toopen theimage, or the image may have been corrupted. Restartyour computer, and then open the fileagain. If the red x still appears, you may have todelete the image and then insert it again.

The image cannotbe displayed. Your computer may nothave enough memory toopen theimage, or the image may have been corrupted. Restartyour computer, and then open the fileagain. If the red x still appears, you may have todelete the image and then insert it again.

The image cannotbe displayed. Your computer may nothave enough memory toopen theimage, or the image may have been corrupted. Restartyour computer, and then open the fileagain. If the red x still appears, you may have todelete the image and then insert it again.

Page 4: Instalacion  Servidor Apache

8/7/2019 Instalacion Servidor Apache

http://slidepdf.com/reader/full/instalacion-servidor-apache 4/4

Para comprobar que funciona todo correctamente debemos entrar, desde otro pc de la red, enlas siguientes direcciones.

Para comprobar apache 

http://direccion_local

Para comprobar phpmyadmin  

http://direccion_local/phpmyadmin