How to Install mod_security with Apache on CentOS/RHEL 7/6
- Step 1 – Enable EPEL Repository. Firstly add the EPEL rpm repository in your system using the following command.
- Step 2 – Install Mod_Security and Predefined Rules. ...
- Step 3 – Activate mod_security Module. ...
- Step 4 – Restart Apache and Check. ...
- Important files to Remember.