How to install mod security plugin in WHM
Go to the below path.
cd /usr/local/src
Download the below file.
wget http://www.configserver.com/free/cmc.tgz
Extract that file.
tar -xzf cmc.tgz
Go into that folder.
cd cmc
Run the file using the below command.
sh install.sh
Once done, then access the mod security using WHM.
How to uninstall mod security plugin from WHM server
Run the below commands to uninstall mod security plugin from WHM server.
rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmc.cgi
rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/cmcversion.txt
rm -Rfv /usr/local/cpanel/whostmgr/docroot/cgi/cmc/