Installing mod_evasive on a server running cPanel

Mugoma

Well-Known Member
Aug 1, 2016
74
4
8
Nairobi
cPanel Access Level
Root Administrator
We would like to install mod_evasive (zdziarski.com/blog/?page_id=442) on CentOS having cPanel.

We have done this on other servers not running cPanel without a problem.

However, on cPanel severs it fails. The main reason is the non-standard way in which cPanel names the applications. for instance the installation is complaining about missing httpd installation. We have apache running but it seems it can't be recognised:

Code:
  Resolving Dependencies
  --> Running transaction check
  ---> Package mod_evasive.x86_64 0:1.10.1-22.el7 will be installed
  --> Processing Dependency: httpd-mmn = 20120211x8664 for package: mod_evasive-1.10.1-22.el7.x86_64
  --> Processing Dependency: httpd for package: mod_evasive-1.10.1-22.el7.x86_64
  --> Finished Dependency Resolution
  Error: Package: mod_evasive-1.10.1-22.el7.x86_64 (epel)
  Requires: httpd
  Error: Package: mod_evasive-1.10.1-22.el7.x86_64 (epel)
  Requires: httpd-mmn = 20120211x8664
How can we ensure Apache is recognised?
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463