Installing mod_evasive on a server running cPanel
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:
How can we ensure Apache is recognised?
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?
-
Hello, No native support exists for this Apache module in EasyApache 4. You would have to build a custom RPM for this module if you need to use it with EasyApache 4. The following threads offer some insight on building custom EA4 RPMs: Disable x-php-script easyapache4 and pthreads EA4 equivalent for php rawopts ? Thank you. 0
Please sign in to leave a comment.
Comments
1 comment