Home > 備忘録(Fedora) > アプリケーション > Clam AntiVirus( 105 )
[root@server]# yum -y install clamav clamav-update[root@server]# vi /etc/freshclam.conf
##
## Example config file for freshclam
## Please read the freshclam.conf(5) manual before editing this file.
##
# Comment or remove the line below.
#Example ←コメントアウトにする
# Path to the database directory.
# WARNING: It must match clamd.conf\'s directive!
# Default: hardcoded (depends on installation options)
#DatabaseDirectory /var/lib/clamav
# Path to the log file (make sure it has proper permissions)
# Default: disabled
#UpdateLogFile /var/log/freshclam.log
~~~~~途中省略~~~~~
# Uncomment the following line and replace XY with your country
# code. See http://www.iana.org/cctld/cctld-whois.htm for the full list.
# You can use db.XY.ipv6.clamav.net for IPv6 connections.
DatabaseMirror db.jp.clamav.net ←db.XY.clamav.netをdb.jp.clamav.netに変更
# database.clamav.net is a round-robin record which points to our most[root@server]# freshclam
ClamAV update process started at Thu Jun 7 17:45:26 2012
Downloading daily.cvd [100%]
daily.cvd updated (version: 15014, sigs: 209481, f-level: 63, builder: guitar)
bytecode.cvd is up to date (version: 185, sigs: 39, f-level: 63, builder: neo)
Database updated (1253907 signatures) from database.clamav.net (IP: 219.94.128.99)[root@server]# clamscan --infected --remove --recursive /home
----------- SCAN SUMMARY -----------
Known viruses: 1248587
Engine version: 0.97.3
Scanned directories: 2509
Scanned files: 3874
Infected files: 0
Data scanned: 292.48 MB
Data read: 245.82 MB (ratio 1.19:1)
Time: 207.098 sec (3 m 27 s)[root@server]# vi /etc/cron.d/clamav-update
## Adjust this line...
MAILTO=root
## 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[root@server]# yum -y install clamtkこのリンクを参考にして対処する ClamTkで隔離や削除ができない | 見よう見まねのブログ