SlideShare una empresa de Scribd logo
1 de 9
Descargar para leer sin conexión
15-11-2013

Instalación y Configuración Del
Servicio WEB en el
Sistema Operativo Linux Red Hat
GESTIÓN DE REDES DE DATOS

Autores: DIEGO LEON GIL BARRIENTOS
YINA PAOLA GARZON BEDOYA
YIMY FERNANDO PÉREZ MEDINA

SERVICIO NACIONAL DE APRENDIZAJE
SERVICIO NACIONAL DE APRENDIZAJE
GESTIÓN DE REDES DE DATOS
INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO WEB EN EL
SISTEMA OPERATIVO LINUX RED HAT
15-11-2013

Instalación y Configuración Del Servicio WEB en el
Sistema Operativo Linux Red Hat

HTTP
La W3C define "Servicio web" como un sistema de software diseñado para permitir
interoperabilidad máquina a máquina en una red. En general, los servicios web son
sólo APIs Web que pueden ser accedidas en una red, como internet, y ejecutadas en
un sistema de hosting remoto.
En términos sencillos, un servicio web es cualquier sistema de software diseñado para
soportar interacción máquina a máquina sobre una red.
Esta amplia definición abarca múltiples y diferentes sistemas, pero en general "servicio
web" suele referir a clientes y servidores que se comunican usando mensajes XML que
siguen el estándar SOAP.
En definitiva, permite comunicación entre diferentes máquinas, con diferentes
plataformas y entre programas distintos. Esta comunicación se logra a través de la
adoptación de diversos estándares abiertos.

INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO
WEB EN EL
SISTEMA
OPERATIVO LINUX RED HAT

1
SERVICIO NACIONAL DE APRENDIZAJE
GESTIÓN DE REDES DE DATOS
INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO WEB EN EL
SISTEMA OPERATIVO LINUX RED HAT
15-11-2013

Instalación y configuración del Servicio

1. Comprobamos si el servicio está instalado con el comando rpm –q httpd

2. Instalamos el servicio con el comando yum install httpd

INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO
WEB EN EL
SISTEMA
OPERATIVO LINUX RED HAT

2
SERVICIO NACIONAL DE APRENDIZAJE
GESTIÓN DE REDES DE DATOS
INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO WEB EN EL
SISTEMA OPERATIVO LINUX RED HAT
15-11-2013

Y comprobamos nuevamente que nuestro servicio haya quedado bien instalado.

3. Luego vamos a la carpeta donde está ubicado uno de los archivos de configuración

INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO
WEB EN EL
SISTEMA
OPERATIVO LINUX RED HAT

3
SERVICIO NACIONAL DE APRENDIZAJE
GESTIÓN DE REDES DE DATOS
INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO WEB EN EL
SISTEMA OPERATIVO LINUX RED HAT
15-11-2013

4. Listamos el directorio y procedemos a editar el archivo httpd.conf con nuestro
editor de textos preferido y lo primero será buscar está línea y descomentarla para
habilitar los hosting virtuales.

En la línea final de este añadiremos el texto "Include /etc/httpd/conf.d/yimfer.com"
esta línea lo que hace es incluir en este archivo de configuración, el archivo
"yimfer.com" el cual es un archivo que aún no hemos creado pero en este crearemos
los host virtuales.

5. Luego de incluido el archivo guardaremos y nos saldremos del editor, dirigiéndonos
entonces a la ruta indicada para crear este archivo.

INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO
WEB EN EL
SISTEMA
OPERATIVO LINUX RED HAT

4
SERVICIO NACIONAL DE APRENDIZAJE
GESTIÓN DE REDES DE DATOS
INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO WEB EN EL
SISTEMA OPERATIVO LINUX RED HAT
15-11-2013

Procedemos a crearlo y a editarlo:

Añadimos las líneas mostradas en la imagen las cuales indican lo siguiente:
ServerAdmin: El correo del administrador
DocumentRoot: La ruta donde estará ubicado el documento de nuestra página WEB.
ServerName: El nombre de la página Web tal y como está registrado en nuestro
servidor DNS.
Directory: El mismo Document Root
DirectoryIndex: El archivo index de nuestra página WEB
AllowOverride: Cuando el valor de esta directiva
ficheros .htaccess son ignorados completamente.

INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO
WEB EN EL
SISTEMA
OPERATIVO LINUX RED HAT

es

none,

entonces

los

5
SERVICIO NACIONAL DE APRENDIZAJE
GESTIÓN DE REDES DE DATOS
INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO WEB EN EL
SISTEMA OPERATIVO LINUX RED HAT
15-11-2013

6. Come el directory index y el document root no han sido creados entonces
procederemos a crearlos, ademas si quisiéramos alojar varias páginas WEB en
nuestro servidor simplemente bastaría con ponerlas debajo de esta de la misma
manera con los parámetros adecuados.
Ahora Creamos el DocumentRoot, primero nos posicionamos en la carpeta
/var/www/html.

Crearemos el DocumentRoot tal y como lo declaramos en el archivo anterior.

Luego crearemos el DirectoryIndex con el editor llamado igual al declarado en el
archivo de virtualhosts.

INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO
WEB EN EL
SISTEMA
OPERATIVO LINUX RED HAT

6
SERVICIO NACIONAL DE APRENDIZAJE
GESTIÓN DE REDES DE DATOS
INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO WEB EN EL
SISTEMA OPERATIVO LINUX RED HAT
15-11-2013

Y verificaremos que nuestro servidor DNS este resolviendo por el ServerName que
declaramos en el virtualhost.

Por ultimo verificamos desde un cliente de windows xp que esté en esta misma subred.

Y esto sería todo, ya debería funcionar perfectamente.

INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO
WEB EN EL
SISTEMA
OPERATIVO LINUX RED HAT

7
SERVICIO NACIONAL DE APRENDIZAJE
GESTIÓN DE REDES DE DATOS
INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO WEB EN EL
SISTEMA OPERATIVO LINUX RED HAT
15-11-2013

Webgrafía:
http://www.alegsa.com.ar/Dic/servicio%20web.php
http://falagan.wordpress.com/2011/12/18/integracion-auraportal-los-web-services/
http://gnunick.blogspot.com/search/label/HTTP

INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO
WEB EN EL
SISTEMA
OPERATIVO LINUX RED HAT

8

Más contenido relacionado

La actualidad más candente

Protocolo http.. ana oliver
Protocolo http.. ana oliverProtocolo http.. ana oliver
Protocolo http.. ana oliverAny Oliver
 
OPENLDAP Red Hat Enterprise Linux 6.2
OPENLDAP Red Hat Enterprise Linux 6.2OPENLDAP Red Hat Enterprise Linux 6.2
OPENLDAP Red Hat Enterprise Linux 6.2cyberleon95
 
Configuracion proxy Windows server 2008
Configuracion proxy Windows server 2008Configuracion proxy Windows server 2008
Configuracion proxy Windows server 2008teresi0101
 
Administración de un directorio activo (LDAP) en Linux.
Administración de un directorio activo (LDAP) en Linux. Administración de un directorio activo (LDAP) en Linux.
Administración de un directorio activo (LDAP) en Linux. camilaml
 
Postfix
PostfixPostfix
PostfixYapool
 
22512051 Servicios
22512051 Servicios22512051 Servicios
22512051 Servicioscaroarias91
 
SEVIDORES WEB 1 DE MARZO.docx
SEVIDORES WEB 1  DE MARZO.docxSEVIDORES WEB 1  DE MARZO.docx
SEVIDORES WEB 1 DE MARZO.docxASELALPEZ
 
Seguridad perimetral en Forefront TMG 2010
Seguridad perimetral en Forefront TMG 2010Seguridad perimetral en Forefront TMG 2010
Seguridad perimetral en Forefront TMG 2010camilaml
 
Instalación y configuración de OpenMeetings en CentOS 6.4
Instalación y configuración de OpenMeetings en CentOS 6.4Instalación y configuración de OpenMeetings en CentOS 6.4
Instalación y configuración de OpenMeetings en CentOS 6.4camilaml
 

La actualidad más candente (17)

Servidor WEB y FTP
Servidor WEB y FTPServidor WEB y FTP
Servidor WEB y FTP
 
Protocolo http.. ana oliver
Protocolo http.. ana oliverProtocolo http.. ana oliver
Protocolo http.. ana oliver
 
OPENLDAP Red Hat Enterprise Linux 6.2
OPENLDAP Red Hat Enterprise Linux 6.2OPENLDAP Red Hat Enterprise Linux 6.2
OPENLDAP Red Hat Enterprise Linux 6.2
 
Tarea6 programacionweb
Tarea6 programacionwebTarea6 programacionweb
Tarea6 programacionweb
 
3ºParte
3ºParte3ºParte
3ºParte
 
Web en centos
Web en centosWeb en centos
Web en centos
 
Servidores Web y FTP
Servidores Web y FTPServidores Web y FTP
Servidores Web y FTP
 
Configuracion proxy Windows server 2008
Configuracion proxy Windows server 2008Configuracion proxy Windows server 2008
Configuracion proxy Windows server 2008
 
Administración de un directorio activo (LDAP) en Linux.
Administración de un directorio activo (LDAP) en Linux. Administración de un directorio activo (LDAP) en Linux.
Administración de un directorio activo (LDAP) en Linux.
 
Openvp non redhat
Openvp non redhatOpenvp non redhat
Openvp non redhat
 
Postfix
PostfixPostfix
Postfix
 
Actividad n 5.3 http ftp
Actividad n 5.3 http ftpActividad n 5.3 http ftp
Actividad n 5.3 http ftp
 
Unidad_2
Unidad_2Unidad_2
Unidad_2
 
22512051 Servicios
22512051 Servicios22512051 Servicios
22512051 Servicios
 
SEVIDORES WEB 1 DE MARZO.docx
SEVIDORES WEB 1  DE MARZO.docxSEVIDORES WEB 1  DE MARZO.docx
SEVIDORES WEB 1 DE MARZO.docx
 
Seguridad perimetral en Forefront TMG 2010
Seguridad perimetral en Forefront TMG 2010Seguridad perimetral en Forefront TMG 2010
Seguridad perimetral en Forefront TMG 2010
 
Instalación y configuración de OpenMeetings en CentOS 6.4
Instalación y configuración de OpenMeetings en CentOS 6.4Instalación y configuración de OpenMeetings en CentOS 6.4
Instalación y configuración de OpenMeetings en CentOS 6.4
 

Destacado

Outstanding S.A. de C.V. About Us (2013)
Outstanding S.A. de C.V. About Us (2013)Outstanding S.A. de C.V. About Us (2013)
Outstanding S.A. de C.V. About Us (2013)outstandingsv
 
Belgen verkiezen een berline
Belgen verkiezen een berlineBelgen verkiezen een berline
Belgen verkiezen een berlineWagenverkopen
 
In open corporate profile
In open corporate profileIn open corporate profile
In open corporate profileinopen123
 
ABC +D Strategy for Attacking Prompts
ABC +D Strategy for Attacking PromptsABC +D Strategy for Attacking Prompts
ABC +D Strategy for Attacking PromptsReina Shay Broussard
 
Tecnicas anestesicas
Tecnicas anestesicasTecnicas anestesicas
Tecnicas anestesicasBiaancaxoxo
 
Informe final programa de liderazgo
Informe final programa de liderazgoInforme final programa de liderazgo
Informe final programa de liderazgoMiguel Alva
 
Unidad 5 implemetacion estrategica
Unidad 5 implemetacion estrategicaUnidad 5 implemetacion estrategica
Unidad 5 implemetacion estrategicaLuis Kolin
 

Destacado (9)

เฉลย3
เฉลย3เฉลย3
เฉลย3
 
Outstanding S.A. de C.V. About Us (2013)
Outstanding S.A. de C.V. About Us (2013)Outstanding S.A. de C.V. About Us (2013)
Outstanding S.A. de C.V. About Us (2013)
 
Tic`s
Tic`sTic`s
Tic`s
 
Belgen verkiezen een berline
Belgen verkiezen een berlineBelgen verkiezen een berline
Belgen verkiezen een berline
 
In open corporate profile
In open corporate profileIn open corporate profile
In open corporate profile
 
ABC +D Strategy for Attacking Prompts
ABC +D Strategy for Attacking PromptsABC +D Strategy for Attacking Prompts
ABC +D Strategy for Attacking Prompts
 
Tecnicas anestesicas
Tecnicas anestesicasTecnicas anestesicas
Tecnicas anestesicas
 
Informe final programa de liderazgo
Informe final programa de liderazgoInforme final programa de liderazgo
Informe final programa de liderazgo
 
Unidad 5 implemetacion estrategica
Unidad 5 implemetacion estrategicaUnidad 5 implemetacion estrategica
Unidad 5 implemetacion estrategica
 

Similar a Manual servicio http bajo linux red hat

Presentacion 3 archivos
Presentacion 3 archivosPresentacion 3 archivos
Presentacion 3 archivosackroes
 
Active Directory
Active DirectoryActive Directory
Active Directoryguidoeddy
 
Linux y-windows
Linux y-windowsLinux y-windows
Linux y-windowsPacoVM1
 
Servidores windows
Servidores windowsServidores windows
Servidores windowsrulo182
 
Gestion de nubes de servidores
Gestion de nubes de servidoresGestion de nubes de servidores
Gestion de nubes de servidoresrossykeles
 
Gestion de nubes d
Gestion de nubes dGestion de nubes d
Gestion de nubes drossykeles
 
Internet Information Server (IIS)
Internet Information Server (IIS)Internet Information Server (IIS)
Internet Information Server (IIS)Rosariio92
 
Presentacion 3 archivos2
Presentacion 3 archivos2Presentacion 3 archivos2
Presentacion 3 archivos2moiiantonio
 
Servidor WEB - WINDOWS SERVER 2008
Servidor WEB - WINDOWS SERVER 2008Servidor WEB - WINDOWS SERVER 2008
Servidor WEB - WINDOWS SERVER 2008Facebook
 
Manual servicio ftp bajo linux red hat
Manual servicio ftp bajo linux red hatManual servicio ftp bajo linux red hat
Manual servicio ftp bajo linux red hatyimfer1
 
Manual servicio ftp bajo linux red hat (1)
Manual servicio ftp bajo linux red hat (1)Manual servicio ftp bajo linux red hat (1)
Manual servicio ftp bajo linux red hat (1)cyberleon95
 
Servidor FTP Red Hat 6.2
Servidor FTP Red Hat 6.2Servidor FTP Red Hat 6.2
Servidor FTP Red Hat 6.2cyberleon95
 
Manual servicio ftp bajo linux red hat
Manual servicio ftp bajo linux red hatManual servicio ftp bajo linux red hat
Manual servicio ftp bajo linux red hatYinaGarzon
 
instalación de Active directory windows 2012
instalación de Active directory windows 2012instalación de Active directory windows 2012
instalación de Active directory windows 2012YinaGarzon
 

Similar a Manual servicio http bajo linux red hat (20)

Actividad n 5.3 http ftp
Actividad n 5.3 http ftpActividad n 5.3 http ftp
Actividad n 5.3 http ftp
 
Presentacion 3 archivos
Presentacion 3 archivosPresentacion 3 archivos
Presentacion 3 archivos
 
Active Directory
Active DirectoryActive Directory
Active Directory
 
Linux y-windows
Linux y-windowsLinux y-windows
Linux y-windows
 
Servidores windows
Servidores windowsServidores windows
Servidores windows
 
3 parcial m2m
3 parcial m2m3 parcial m2m
3 parcial m2m
 
Gestion de nubes de servidores
Gestion de nubes de servidoresGestion de nubes de servidores
Gestion de nubes de servidores
 
Gestion de nubes d
Gestion de nubes dGestion de nubes d
Gestion de nubes d
 
Internet Information Server (IIS)
Internet Information Server (IIS)Internet Information Server (IIS)
Internet Information Server (IIS)
 
Presentacion 3 archivos2
Presentacion 3 archivos2Presentacion 3 archivos2
Presentacion 3 archivos2
 
Servidor WEB - WINDOWS SERVER 2008
Servidor WEB - WINDOWS SERVER 2008Servidor WEB - WINDOWS SERVER 2008
Servidor WEB - WINDOWS SERVER 2008
 
Manual servicio ftp bajo linux red hat
Manual servicio ftp bajo linux red hatManual servicio ftp bajo linux red hat
Manual servicio ftp bajo linux red hat
 
Manual servicio ftp bajo linux red hat (1)
Manual servicio ftp bajo linux red hat (1)Manual servicio ftp bajo linux red hat (1)
Manual servicio ftp bajo linux red hat (1)
 
Servidor FTP Red Hat 6.2
Servidor FTP Red Hat 6.2Servidor FTP Red Hat 6.2
Servidor FTP Red Hat 6.2
 
Manual servicio ftp bajo linux red hat
Manual servicio ftp bajo linux red hatManual servicio ftp bajo linux red hat
Manual servicio ftp bajo linux red hat
 
Servidorweb casero
Servidorweb caseroServidorweb casero
Servidorweb casero
 
instalación de Active directory windows 2012
instalación de Active directory windows 2012instalación de Active directory windows 2012
instalación de Active directory windows 2012
 
Servicios Web
Servicios WebServicios Web
Servicios Web
 
Servicio web
Servicio webServicio web
Servicio web
 
Servicio web
Servicio webServicio web
Servicio web
 

Más de yimfer1

11 suplemments
11 suplemments11 suplemments
11 suplemmentsyimfer1
 
10 network applications
10 network applications10 network applications
10 network applicationsyimfer1
 
9 managing processes
9  managing processes9  managing processes
9 managing processesyimfer1
 
8 herramientas de procesos de string
8  herramientas de procesos de string8  herramientas de procesos de string
8 herramientas de procesos de stringyimfer1
 
7 standard io and pipes
7 standard io and pipes7 standard io and pipes
7 standard io and pipesyimfer1
 
6 la shell bash
6 la shell bash6 la shell bash
6 la shell bashyimfer1
 
5 the linux filesystem
5 the linux filesystem5 the linux filesystem
5 the linux filesystemyimfer1
 
4 file ownerships and permissions
4 file ownerships and permissions4 file ownerships and permissions
4 file ownerships and permissionsyimfer1
 
3 users and groups
3   users and groups3   users and groups
3 users and groupsyimfer1
 
2 filesystem basics
2 filesystem basics2 filesystem basics
2 filesystem basicsyimfer1
 
1 quick tours
1 quick tours1 quick tours
1 quick toursyimfer1
 
Switching intermedio final
Switching intermedio finalSwitching intermedio final
Switching intermedio finalyimfer1
 
Enrutamiento dinamico con rip
Enrutamiento dinamico con ripEnrutamiento dinamico con rip
Enrutamiento dinamico con ripyimfer1
 
Actividad 4
Actividad 4Actividad 4
Actividad 4yimfer1
 
Taller enrutamiento estatico
Taller enrutamiento estaticoTaller enrutamiento estatico
Taller enrutamiento estaticoyimfer1
 
Enrutamiento dinamico con eigrp ospf
Enrutamiento dinamico con eigrp ospfEnrutamiento dinamico con eigrp ospf
Enrutamiento dinamico con eigrp ospfyimfer1
 
Trabajo final
Trabajo finalTrabajo final
Trabajo finalyimfer1
 
Taller de wireshark final
Taller de wireshark finalTaller de wireshark final
Taller de wireshark finalyimfer1
 
Manual win 7 en red en virtual box
Manual win 7 en red en virtual boxManual win 7 en red en virtual box
Manual win 7 en red en virtual boxyimfer1
 
Manual linux ubuntu en red en virtual box
Manual linux ubuntu en red en virtual boxManual linux ubuntu en red en virtual box
Manual linux ubuntu en red en virtual boxyimfer1
 

Más de yimfer1 (20)

11 suplemments
11 suplemments11 suplemments
11 suplemments
 
10 network applications
10 network applications10 network applications
10 network applications
 
9 managing processes
9  managing processes9  managing processes
9 managing processes
 
8 herramientas de procesos de string
8  herramientas de procesos de string8  herramientas de procesos de string
8 herramientas de procesos de string
 
7 standard io and pipes
7 standard io and pipes7 standard io and pipes
7 standard io and pipes
 
6 la shell bash
6 la shell bash6 la shell bash
6 la shell bash
 
5 the linux filesystem
5 the linux filesystem5 the linux filesystem
5 the linux filesystem
 
4 file ownerships and permissions
4 file ownerships and permissions4 file ownerships and permissions
4 file ownerships and permissions
 
3 users and groups
3   users and groups3   users and groups
3 users and groups
 
2 filesystem basics
2 filesystem basics2 filesystem basics
2 filesystem basics
 
1 quick tours
1 quick tours1 quick tours
1 quick tours
 
Switching intermedio final
Switching intermedio finalSwitching intermedio final
Switching intermedio final
 
Enrutamiento dinamico con rip
Enrutamiento dinamico con ripEnrutamiento dinamico con rip
Enrutamiento dinamico con rip
 
Actividad 4
Actividad 4Actividad 4
Actividad 4
 
Taller enrutamiento estatico
Taller enrutamiento estaticoTaller enrutamiento estatico
Taller enrutamiento estatico
 
Enrutamiento dinamico con eigrp ospf
Enrutamiento dinamico con eigrp ospfEnrutamiento dinamico con eigrp ospf
Enrutamiento dinamico con eigrp ospf
 
Trabajo final
Trabajo finalTrabajo final
Trabajo final
 
Taller de wireshark final
Taller de wireshark finalTaller de wireshark final
Taller de wireshark final
 
Manual win 7 en red en virtual box
Manual win 7 en red en virtual boxManual win 7 en red en virtual box
Manual win 7 en red en virtual box
 
Manual linux ubuntu en red en virtual box
Manual linux ubuntu en red en virtual boxManual linux ubuntu en red en virtual box
Manual linux ubuntu en red en virtual box
 

Manual servicio http bajo linux red hat

  • 1. 15-11-2013 Instalación y Configuración Del Servicio WEB en el Sistema Operativo Linux Red Hat GESTIÓN DE REDES DE DATOS Autores: DIEGO LEON GIL BARRIENTOS YINA PAOLA GARZON BEDOYA YIMY FERNANDO PÉREZ MEDINA SERVICIO NACIONAL DE APRENDIZAJE
  • 2. SERVICIO NACIONAL DE APRENDIZAJE GESTIÓN DE REDES DE DATOS INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO WEB EN EL SISTEMA OPERATIVO LINUX RED HAT 15-11-2013 Instalación y Configuración Del Servicio WEB en el Sistema Operativo Linux Red Hat HTTP La W3C define "Servicio web" como un sistema de software diseñado para permitir interoperabilidad máquina a máquina en una red. En general, los servicios web son sólo APIs Web que pueden ser accedidas en una red, como internet, y ejecutadas en un sistema de hosting remoto. En términos sencillos, un servicio web es cualquier sistema de software diseñado para soportar interacción máquina a máquina sobre una red. Esta amplia definición abarca múltiples y diferentes sistemas, pero en general "servicio web" suele referir a clientes y servidores que se comunican usando mensajes XML que siguen el estándar SOAP. En definitiva, permite comunicación entre diferentes máquinas, con diferentes plataformas y entre programas distintos. Esta comunicación se logra a través de la adoptación de diversos estándares abiertos. INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO WEB EN EL SISTEMA OPERATIVO LINUX RED HAT 1
  • 3. SERVICIO NACIONAL DE APRENDIZAJE GESTIÓN DE REDES DE DATOS INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO WEB EN EL SISTEMA OPERATIVO LINUX RED HAT 15-11-2013 Instalación y configuración del Servicio 1. Comprobamos si el servicio está instalado con el comando rpm –q httpd 2. Instalamos el servicio con el comando yum install httpd INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO WEB EN EL SISTEMA OPERATIVO LINUX RED HAT 2
  • 4. SERVICIO NACIONAL DE APRENDIZAJE GESTIÓN DE REDES DE DATOS INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO WEB EN EL SISTEMA OPERATIVO LINUX RED HAT 15-11-2013 Y comprobamos nuevamente que nuestro servicio haya quedado bien instalado. 3. Luego vamos a la carpeta donde está ubicado uno de los archivos de configuración INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO WEB EN EL SISTEMA OPERATIVO LINUX RED HAT 3
  • 5. SERVICIO NACIONAL DE APRENDIZAJE GESTIÓN DE REDES DE DATOS INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO WEB EN EL SISTEMA OPERATIVO LINUX RED HAT 15-11-2013 4. Listamos el directorio y procedemos a editar el archivo httpd.conf con nuestro editor de textos preferido y lo primero será buscar está línea y descomentarla para habilitar los hosting virtuales. En la línea final de este añadiremos el texto "Include /etc/httpd/conf.d/yimfer.com" esta línea lo que hace es incluir en este archivo de configuración, el archivo "yimfer.com" el cual es un archivo que aún no hemos creado pero en este crearemos los host virtuales. 5. Luego de incluido el archivo guardaremos y nos saldremos del editor, dirigiéndonos entonces a la ruta indicada para crear este archivo. INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO WEB EN EL SISTEMA OPERATIVO LINUX RED HAT 4
  • 6. SERVICIO NACIONAL DE APRENDIZAJE GESTIÓN DE REDES DE DATOS INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO WEB EN EL SISTEMA OPERATIVO LINUX RED HAT 15-11-2013 Procedemos a crearlo y a editarlo: Añadimos las líneas mostradas en la imagen las cuales indican lo siguiente: ServerAdmin: El correo del administrador DocumentRoot: La ruta donde estará ubicado el documento de nuestra página WEB. ServerName: El nombre de la página Web tal y como está registrado en nuestro servidor DNS. Directory: El mismo Document Root DirectoryIndex: El archivo index de nuestra página WEB AllowOverride: Cuando el valor de esta directiva ficheros .htaccess son ignorados completamente. INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO WEB EN EL SISTEMA OPERATIVO LINUX RED HAT es none, entonces los 5
  • 7. SERVICIO NACIONAL DE APRENDIZAJE GESTIÓN DE REDES DE DATOS INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO WEB EN EL SISTEMA OPERATIVO LINUX RED HAT 15-11-2013 6. Come el directory index y el document root no han sido creados entonces procederemos a crearlos, ademas si quisiéramos alojar varias páginas WEB en nuestro servidor simplemente bastaría con ponerlas debajo de esta de la misma manera con los parámetros adecuados. Ahora Creamos el DocumentRoot, primero nos posicionamos en la carpeta /var/www/html. Crearemos el DocumentRoot tal y como lo declaramos en el archivo anterior. Luego crearemos el DirectoryIndex con el editor llamado igual al declarado en el archivo de virtualhosts. INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO WEB EN EL SISTEMA OPERATIVO LINUX RED HAT 6
  • 8. SERVICIO NACIONAL DE APRENDIZAJE GESTIÓN DE REDES DE DATOS INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO WEB EN EL SISTEMA OPERATIVO LINUX RED HAT 15-11-2013 Y verificaremos que nuestro servidor DNS este resolviendo por el ServerName que declaramos en el virtualhost. Por ultimo verificamos desde un cliente de windows xp que esté en esta misma subred. Y esto sería todo, ya debería funcionar perfectamente. INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO WEB EN EL SISTEMA OPERATIVO LINUX RED HAT 7
  • 9. SERVICIO NACIONAL DE APRENDIZAJE GESTIÓN DE REDES DE DATOS INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO WEB EN EL SISTEMA OPERATIVO LINUX RED HAT 15-11-2013 Webgrafía: http://www.alegsa.com.ar/Dic/servicio%20web.php http://falagan.wordpress.com/2011/12/18/integracion-auraportal-los-web-services/ http://gnunick.blogspot.com/search/label/HTTP INSTALACIÓN Y CONFIGURACIÓN DEL SERVICIO WEB EN EL SISTEMA OPERATIVO LINUX RED HAT 8