Installing mod_security on cpanel server is a simple process that takes less than a few minutes.
- Login to your WHM as root.
- Click on EasyApache
- While selecting modules in the “Short Options List”, select “Mod Security”.
- Rebuild Apache
It could take an hour or two for the build to complete, depending on your settings.