How to install ClamAV on cPanel servers?
cPanel has introduced many changes in their packages in recent releases, especially in v88 . One of the important changes is for ClamAV packages, which conflicts their own packages with the system packages. So it will not be possible to maintain a separate ClamAV package in certain cases and it is better if you use the ClamAV package provided by cPanel.
The following steps will help you to install ClamAV on your cPanel server and start using it.
1. Login to your WHM as root user and then go to Home »cPanel »Manage Plugins
2. Find the option "Install ClamAV for cPanel" from the page and clock on it. Wait for the installation to finish
Once the installation is finished successfully, we recommend you to disable the Clamd daemon and default checks unless you need it specifically. It is a real resource hogger, especially for small servers. To disable it
1. Go to Home »Plugins » ClamAV Scanner Configuration » Disable all enabled checks
2. Go to Home »Service Configuration »Service Manager » Disable ClamAV Daemon and disable its monitoring » Save the Configuration
If you have difficulty in running cPGuard service/scanner due to ClamAV , please run following command finally and that will solve the issue.
If you need any further assistance clarification, please feel free to contact our support team