一直没有去理会linux下的病毒问题,但是linxu下的恶意代码也会对系统造成很大的伤害,同时曾经的Linux/Bliss这种感染Linux上ELF文件的病毒,其外还出现了一些针对个别Linux服务bug的蠕虫病毒。因此装个杀毒软件试试也不妨
一、选择杀毒软件
在google上找了很久,发现了卡巴斯基有linux版的杀毒软件Avira AntiVir UNIX Server,怀着对卡巴的好感,决定在linux下安全卡巴试试。首先声明我的环境是:Linux 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux。
二、下载杀毒软件
打开以下网址,进行注册,填写有关信息,因为需要它给你一个临时key,试用30天:http://www2.avira.com/en/download/download_form.php?id=bac9f741a5e494dff15dc2d0bee97a66
填写完毕好,几分钟内,你的邮箱会收到关于key的文件,请保管好哦。
三、解压安装
我是在windows下下载后上传到服务器的。
# tar zxf antivir-server-prof-2.1.11-21.tar.gz
# cd antivir-server-prof-2.1.11-21
# more README
AntiVir Server Install-Package Directory
install <- install script
LICENSE <- Avira GmbH Software License Agreement
doc/RELEASE_NOTES <- important changes in this version
doc/ <- documentation (handbook, manual, changelog)
pgp/ <- PGP information
bin/ <- executable files
vdf/ <- virus definition files
legal/ <- 3rd-party licenses
contrib/ <- 3rd-party software (dazuko, samba-vscan)
etc/ <- configuration files
gui/ <- GUI-specific files
script/ <- shell scripts
smcpkg/ <- SMC-specific files
要养成安装软件,读README的习惯,因为linux下没有windows那么多人给你经验。
然后出现让你view the license.好了,还是安装了
出现creating /usr/lib/AntiVir ... done
1) installing command line scanner
copying bin/antivir to /usr/lib/AntiVir/ ... done
字样就证明开始安装了
Do you agree to the license terms? [n] y(选择你的key的存放路径,默认放在/usr/lib/AntiVir/下,记得把key已过去,要不安全就已DEMO的mode了)
Enter the path to your key file: [] /usr/lib/AntiVir/hbedv.key(记得输入路径)
一路安装,你可以默认的enter下去,当然你想详细定制,可以选择,建议详细定制
最后出现
Be sure to read the README file for additional information.
Thank you for your interest in Avira AntiVir Server (UNIX).
恭喜你,你安装了linux下的杀毒软件了。
四、Avira AntiVir UNIX Server使用
输入命令,查看帮助信息(要养成习惯,一切靠自己)
antivir -help
Usage is: antivir [options] [path[\*.ext]] [*.ext]
…………………………………………….
进行杀毒
# antivir /home/schyman/ -allfiles -s
AntiVir / Linux Version 2.1.11-21
Copyright (c) 2007 by Avira GmbH.
All rights reserved.
Warning: The file "antivir.vdf" is more than 14 days old.
VDF version: 6.39.1.96 created 06 Sep 2007
AntiVir license: 1400015814 for netease
auto excluding /sys/ from scans (is a special fs)
auto excluding /proc from scans (is a special fs)
checking drive/path (list): /home/schyman/
------ scan results ------
directories: 1717
scanned files: 37409
alerts: 0
suspicious: 0
scan time: 00:03:04
--------------------------
Thank you for using AntiVir.
根据返回结果
进行了扫描,在3分钟4秒内扫完37409个文件,效率还是相当的快,由于我系统加固做的较好,暂时没有病毒,详细的参数看看和help帮助文档吧
五、注意事项
有可能开始自动运行该杀毒软件,因为你在安装时候不断的enter(默认的不好处吧),所以你要检查你的开机运行程序有没有被增加,当然你想像windows下那样开机启动杀毒软件的话,那也行。是不是觉得不错,动手吧!