It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In RegisterIt looks like you're new here. If you want to get involved, click one of these buttons!
rpm -Uvh http://mirror.overthewire.com.au/pub/epel/6/i386/epel-release-6-8.noarch.rpm
For CentOS 6 64-bit execute command:rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum install clamav clamd
/etc/init.d/clamd on
chkconfig clamd on
/etc/init.d/clamd start
Update ClamAV's signatures:/usr/bin/freshclam
nano /etc/cron.daily/man_clamscan
#!/bin/bash
SCAN_DIR="/var/www"
LOG_FILE="/var/log/clamav/man_clamscan.log"
/usr/bin/clamscan -i -r $SCAN_DIR >> $LOG_FILE
Give our cron script executable permissions:chmod +x /etc/cron.daily/man_clamscan