Foros del Web » Administración de Sistemas » Cloud Computing »

Ayuda yum inslacion modulo apache

Estas en el tema de Ayuda yum inslacion modulo apache en el foro de Cloud Computing en Foros del Web. Hola amigos esperando que todos se encuentren bien, estoy con un pequeñpo problema al tratar de instalar un modulo de seguridad para mi apache mod_evasive ...
  #1 (permalink)  
Antiguo 10/11/2009, 14:57
 
Fecha de Ingreso: agosto-2005
Mensajes: 86
Antigüedad: 18 años, 8 meses
Puntos: 0
Ayuda yum inslacion modulo apache

Hola amigos esperando que todos se encuentren bien, estoy con un pequeñpo problema al tratar de instalar un modulo de seguridad para mi apache mod_evasive esto es loq ue estoy realizando

yum install mod_evasive
Loaded plugins: fastestmirror
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* epel: mirror.vcu.edu
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mod_evasive.i386 0:1.10.1-3.el5 set to be updated
--> Processing Dependency: httpd-mmn = 20051115 for package: mod_evasive
--> Processing Dependency: httpd for package: mod_evasive
--> Finished Dependency Resolution
mod_evasive-1.10.1-3.el5.i386 from epel has depsolving problems
--> Missing Dependency: httpd is needed by package mod_evasive-1.10.1-3.el5.i386 (epel)
mod_evasive-1.10.1-3.el5.i386 from epel has depsolving problems
--> Missing Dependency: httpd-mmn = 20051115 is needed by package mod_evasive-1.10.1-3.el5.i386 (epel)
Error: Missing Dependency: httpd is needed by package mod_evasive-1.10.1-3.el5.i386 (epel)
Error: Missing Dependency: httpd-mmn = 20051115 is needed by package mod_evasive-1.10.1-3.el5.i386 (epel)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.


Gracias a todos
  #2 (permalink)  
Antiguo 11/11/2009, 10:02
(Desactivado)
 
Fecha de Ingreso: septiembre-2009
Ubicación: /home/jmtwl
Mensajes: 561
Antigüedad: 14 años, 7 meses
Puntos: 14
Respuesta: Ayuda yum inslacion modulo apache

¿Tienes panel de control?
  #3 (permalink)  
Antiguo 11/11/2009, 10:11
 
Fecha de Ingreso: agosto-2005
Mensajes: 86
Antigüedad: 18 años, 8 meses
Puntos: 0
Respuesta: Ayuda yum inslacion modulo apache

Si tengo cpanel la ultima version
  #4 (permalink)  
Antiguo 11/11/2009, 10:17
(Desactivado)
 
Fecha de Ingreso: septiembre-2009
Ubicación: /home/jmtwl
Mensajes: 561
Antigüedad: 14 años, 7 meses
Puntos: 14
Respuesta: Ayuda yum inslacion modulo apache

Entonces nada de yum. Inicia sesión en WHM, y ve hasta EasyApache (Apache Update) en la categoría "Software". Elijes el perfil anterior y le das al botón de configurar este perfil basándose en ese. En el punto 5. Short Options List puedes elegir varias opciones. Allí busca y tienes Mod Security.

Tilda esa opción y continua el proceso. Una vez que finalice ya lo tendrás instalado y podrás ver los ataques bloqueados en una opción con el nombre Mod Security dentro de la categoría "Plugins".
  #5 (permalink)  
Antiguo 11/11/2009, 10:26
 
Fecha de Ingreso: agosto-2005
Mensajes: 86
Antigüedad: 18 años, 8 meses
Puntos: 0
Respuesta: Ayuda yum inslacion modulo apache

Gracias por responder pero necesito instalar el mod_evasive no el mod securitym, ese ya lo encontre ahí y esta instalado y funcionando.
  #6 (permalink)  
Antiguo 11/11/2009, 10:35
 
Fecha de Ingreso: agosto-2005
Mensajes: 86
Antigüedad: 18 años, 8 meses
Puntos: 0
Respuesta: Ayuda yum inslacion modulo apache

Gracias por responder pero necesito instalar el mod_evasive no el mod securitym, ese ya lo encontre ahí y esta instalado y funcionando.
  #7 (permalink)  
Antiguo 11/11/2009, 10:56
Avatar de WebTech
Hosting Moderator
 
Fecha de Ingreso: octubre-2005
Ubicación: East Coast
Mensajes: 5.399
Antigüedad: 18 años, 6 meses
Puntos: 162
Respuesta: Ayuda yum inslacion modulo apache

Hola,

Intenta con esto:

Código:
yum -y install httpd-devel
wget http://www.zdziarski.com/projects/mod_evasive/mod_evasive_1.10.1.tar.gz
tar xzf mod_evasive_1.10.1.tar.gz 
cd mod_evasive
$APACHE_ROOT/bin/apxs -i -a -c mod_evasive20.c
apxs -i -a -c mod_evasive20.c
pico /etc/httpd/conf/httpd.conf
Agregamos:

Código:
<IfModule mod_evasive20.c>
DOSHashTableSize 3097
DOSPageCount 5
DOSSiteCount 100
DOSPageInterval 2
DOSSiteInterval 2
DOSBlockingPeriod 10
DOSBlockingPeriod 600
</IfModule>
Reiniciamos apache y listo

Saludos,
__________________
Infranetworking.com - Expertos en Hosting Multidominio, Cloud Hosting, Servidores Dedicados y Administración de Servidores Linux
  #8 (permalink)  
Antiguo 11/11/2009, 11:03
 
Fecha de Ingreso: agosto-2005
Mensajes: 86
Antigüedad: 18 años, 8 meses
Puntos: 0
Respuesta: Ayuda yum inslacion modulo apache

Hola Web Tech, muchas gracias funciono de maravilla .
  #9 (permalink)  
Antiguo 11/11/2009, 13:07
(Desactivado)
 
Fecha de Ingreso: septiembre-2009
Ubicación: /home/jmtwl
Mensajes: 561
Antigüedad: 14 años, 7 meses
Puntos: 14
Respuesta: Ayuda yum inslacion modulo apache

Cita:
Iniciado por cesardj Ver Mensaje
Gracias por responder pero necesito instalar el mod_evasive no el mod securitym, ese ya lo encontre ahí y esta instalado y funcionando.
Pequeño error de lectura. Me alegra saber que WebTech conocía la respuesta.
  #10 (permalink)  
Antiguo 12/11/2009, 03:48
Avatar de WebTech
Hosting Moderator
 
Fecha de Ingreso: octubre-2005
Ubicación: East Coast
Mensajes: 5.399
Antigüedad: 18 años, 6 meses
Puntos: 162
Respuesta: Ayuda yum inslacion modulo apache

cesardj,

Me da gusto haberte ayudado!

Saludos,
__________________
Infranetworking.com - Expertos en Hosting Multidominio, Cloud Hosting, Servidores Dedicados y Administración de Servidores Linux
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 22:08.