9.53. 安装AntiVir杀毒软件

AntiVir是德国著名的安全软件公司H+BEDV开发的杀毒软件,对于个人用户可以免费使用。到AntiVir的官方网站http://www.free-av.de/即可免费下载。把下载的软件包解开后就可以安装,安装方法是在程序目录执行install脚本即可。

AntiVir程序会安装在/usr/lib/AntiVir目录,配置文件会安装在/etc/目录。antivir是主要的命令行程序,使用antivir -h可以查看详细的用法。下面介绍几种常用的操作。

手动更新病毒库

debian:/usr/lib/AntiVir# ./antivir --update
AntiVir / Linux Version 2.1.10-37
Copyright (c) 2007 by Avira GmbH.
All rights reserved.

checking for updates

on disk       |  upd server
--------------+--------------
02.01.10.37   =  02.01.10.37  [antivir]
06.35.00.01   =  06.35.00.01  [antivir0.vdf]
06.37.01.151  =  06.37.01.151 [antivir1.vdf]
06.38.01.100  =  06.38.01.100 [antivir2.vdf]
06.38.01.116  <  06.38.01.117 [antivir3.vdf]
--------------+--------------
antivir3.vdf 100% |********************************************************|   48 KB   24.32 KB/s   0:00 ETA

on disk       |  upd server
--------------+--------------
06.38.01.117  =  06.38.01.117 [antivir3.vdf]
--------------+--------------

06.38.01.116 --> 06.38.01.117 the VDF database (inc)  (/usr/lib/AntiVir/antivir3.vdf)

AntiVir successfully updated itself

avupdater是自动更新病毒库的脚本,在安装软件时已自动安装在/etc/init.d目录,在系统启动后,它会在后台自动运行。我们可通过configantivir脚本配置avupdater的行为。

杀毒

debian:/usr/lib/AntiVir# ./antivir /root/ --allfiles -s
AntiVir / Linux Version 2.1.10-37
Copyright (c) 2007 by Avira GmbH.
All rights reserved.

VDF version: 6.38.1.117 created 09  5月 2007

For private, non-commercial use only.
auto excluding /sys/ from scans (is a special fs)
auto excluding /proc from scans (is a special fs)
auto excluding /root/data from scans (is a network share)
auto excluding /root/books from scans (is a network share)
checking drive/path (list): /root/
- /root/.mozilla/firefox/za0e1drl.default/ScrapBook/data/20061219115051/4.jpg

--allfiles选项表示所有文件,-s选项表示递归地搜索所有目录。