Installation and configuration of clamscan
1.Install epel repo if not available already.
yum install epel-release
2. Install clamav.
yum install clamav
This will install clamav. You should update the virus definitions before doing your first scan. To do this, issue the following command.
3. scan the server using clamscan command
clamscan -irl /folder/to/scan
clamscan -irl /var/www/vhosts/example.com
The above command will scan the root folder and scan report(only infected files) will saved in cscanreport file.
use clamscan –help to find more options.