# yum install clamav clamav-update
# cd /etc/pki/rpm-gpg
# wget http://ftp.iij.ad.jp/pub/linux/fedora/epel/RPM-GPG-KEY-EPEL# cd /tmp
# wget http://ftp.iij.ad.jp/pub/linux/fedora/epel/5/i386/epel-release-5-2.noarch.rpm
# rpm -hiv epel-release-5-2.noarch.rpm
# Comment or remove the line below.
#Example ← コレ
# freshclam
ClamAV update process started at Mon Jun 22 15:46:41 2009
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.95.1 Recommended version: 0.95.2
DON’T PANIC! Read http://www.clamav.net/support/faq
:
(略)
WARNING: update of clamav database is disabled; please see
’/etc/sysconfig/freshclam’
for information how to enable the periodic update resp. how to turn
off this message.
### REMOVE ME: network access without prior activation
#FRESHCLAM_DELAY=disabled-warn # REMOVE ME ← コレ
## Adjust this line…
MAILTO=root,postmaster,webmaster,clamav## It is ok to execute it as root; freshclam drops privileges and becomes
## user ‘clamav’ as soon as possible
0 */3 * * * root /usr/share/clamav/freshclam-sleep
$ clamscan -r -i ~
LibClamAV Warning: ***********************************************************
LibClamAV Warning: *** This version of the ClamAV engine is outdated. ***
LibClamAV Warning: *** DON’T PANIC! Read http://www.clamav.net/support/faq ***
LibClamAV Warning: ***********************************************************———– SCAN SUMMARY ———–
Known viruses: 575078
Engine version: 0.95.1
Scanned directories: 3095
Scanned files: 16070
Infected files: 0
Data scanned: 323.92 MB
Data read: 168.41 MB (ratio 1.92:1)
Time: 222.242 sec (3 m 42 s)
Comments are closed.