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!
Howdy, Stranger!
It looks like you've been lurking for a while.
If you register, we also will remember what you have read and notify you about new comments. You will also be able to participate in discussions.
So if you'd like to get involved, register for an account, it'll only take you a minute!
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