- 论坛徽章:
- 0
|
欢迎转贴,转贴时请注明出处和作者
作者:lhming
出自:www.chinaunix.net
1.安装Antivir杀毒软件(这个杀毒软件是德国的,可以免费升级,效果不错)
Antivir For Linux / FreeBSD / Solaris:
Date: 02-01-2007 - Version: 2.1.9-33 - Engine: 7.03.01.34
到http://dl4.avgate.net/personal/e ... station-pers.tar.gz 下载
更多信息:http://www.free-av.com/
2.上传到服务器,解压
tar zxvf antivir-workstation-pers.tar.gz
3.先别急着 ./install
(ps: 先进入目录里面有个Dazuko程序,如果不安装Dazuko, 防护程序不能在内核自动运行,只能手动扫描)
4.Dazuko这个程序在/antivir-workstation-pers-2.1.9-18/contrib/dazuko目录把
dazuko-2.3.2.tar.gz这个文件解压.
然后热行 ./configure
make
make test (这步没什么大问题,应该会看见一些成功的信息
(这个是把Antivir杀毒软件加进内核的东东,让启动后自动加进内核)
5.现在可以返回运行./install 按提示信息一步步确认.....
6.注意(如果出下像下面的信息你可以先终止安装,先做一下符号连接)
/usr/libexec/ld-elf.so.1: Shared object "libc.so.5" not found, required by....
运行# ln -s /usr/lib/libc.so /usr/lib/libc.so.5
再安装,ok了。
7.当出现要你指定hbedv.key这个文件的目录时,做文件指定就可以了如 (/home/antivir-workstation-pers-2.1.9-18/hbedv.key)回车
8. 注意当显示如下信息时
3) installing AvGuard
Version 2.1.9-18 of AntiVir for UNIX Workstation is capable of on-access,
real-time scanning of files. This provides the ultimate protection
against viruses and other unwanted software. The on-access scanner
(called AvGuard) is based on Dazuko, a free software project providing
access control. In order to use AvGuard you will need to compile Dazuko
for your kernel. Please refer to contrib/dazuko/HOWTO-Dazuko for
information about how to do this. There are several ways in which you
can install AvGuard.
module - Dazuko will be loaded by the avguard script
kernel - Dazuko is always loaded
(and should not be loaded by the avguard script)
no install - do not install AvGuard at this time
Note: Dazuko currently only works with GNU/Linux, FreeBSD and Solaris
systems. If you are interested in helping us port Dazuko to
OpenBSD, feel free to check out the Dazuko Project at:
http://www.dazuko.org
available options: m k n
How should AvGuard be installed? [n] y
How should AvGuard be installed? [n] m (这里选 m )
Enter the full path to dazuko.ko: /usr/home/antivir-workstation-pers-2.1.9-18/contrib/dazuko/dazuko-2.3.2/dazuko.ko (这个要填你刚刚解压,编译的Dazuko的目录)
9. 当出现有个让你自动升级病毒库的设置时你可以 选2/n/..等等,2代表每2个小时....这样就会自动升级了.
10.如果出现starting AntiVir: avguard-workstationdazuko:loaded.version:2.2.1
warning: the file “antivir.vdf” is more than 14 days old
呵呵, 病毒定义过期了, 别担心上网升级啊.
#/usr/lib/AntiVir/antivir --update
升级完后,可以用以下命令开启或关闭或显示当前状态的
===================================================
configure updater: /usr/lib/AntiVir/configantivir
start update daemon: /usr/lib/AntiVir/avupdater start
stop update daemon: /usr/lib/AntiVir/avupdater stop
update daemon status: /usr/lib/AntiVir/avupdater status
antivir --help
LOG文件目录 /var/log/avupdater.log
升级/usr/lib/AntiVir/antivir --update
命令行运行:
antivir -s / //扫描硬盘所有文件
==========================================================
11.reboot系统后,dmesg-a 可以看见如下信息代表成功了
Starting AntiVir: avguard-workstation
dazuko: loaded, version=2.3.2.
Starting AntiVir: avupdater
后记:
安装过程大概就是这样,希望对大家在FREEBSD下安装这个杀毒软件有帮助,UNIX虽然安全性很高,不安装个防护程序总觉得不安心, 还是安装个杀毒的软件比较放心.
以下是我用Antivir的扫描记录:
=========================================================
BSDSERVER# antivir -s /home
AntiVir / FreeBSD 5 Version 2.1.9-33
Copyright (c) 2006 by Avira GmbH.
All rights reserved.
VDF version: 6.37.1.18 created 01 2 2007
For private, non-commercial use only.
AntiVir license: 149996 for PersonalEdition Classic
checking drive/path (list): /home
/home/yang/下载工具/FlashGet/cr-fgf.exe
Date: 31.10.2004 Time: 22:35:46 Size: 14848
ALERT: [TR/Crypt.XPACK.Gen trojan] /home/yang/下载工具/FlashGet/cr-fgf.exe <<< Is the Trojan horse TR/Crypt.XPACK.Gen
------ scan results ------
directories: 2175
scanned files: 14201
alerts: 1
suspicious: 0
repaired: 0
deleted: 0
renamed: 0
quarantined: 0
scan time: 00:00:56
--------------------------
Thank you for using AntiVir.
====================================================== |
|