install linux clam antivirus

yum install clamav clamd
chkconfig clamd on
freshclam

vim /etc/cron.daily/manual_clamscan
#!/bin/bash
SCAN_DIR=”/home”
LOG_FILE=”/var/log/clamav/manual_clamscan.log”

/usr/bin/clamscan -i -r $SCAN_DIR >> $LOG_FILE

Leave a Reply

Your email address will not be published. Required fields are marked *