QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 15758|回复: 46

linux 下免费防毒软件安装及使用经验!!

[复制链接]
发表于 2004-4-28 10:22:01 | 显示全部楼层 |阅读模式
linux下免费的防毒软件可真是少,不过工夫不负有心人,还是让我找到了一个。
clam antivirus  官方网站: http://clamav.sourceforge.net/

我用的是red hat as 3.所以我就下载了rpm包来装:
http://crash.fce.vutbr.cz/crash-hat/1/clamav/clamav-0.70-1.i386.rpm

安装好了以后,就可以用了。
启动 clamd进程就可以及时防病毒了。
更新病毒用:freshclam
  
-bash-2.05b# freshclam --help

                          Clam AntiVirus: freshclam  0.70
                (C) 2002 - 2004 Tomasz Kojm <[email protected]>

    --help               -h              show help
    --version            -V              print version number and exit
    --verbose            -v              be verbose
    --debug                              enable debug messages
    --quiet                              be quiet, output only error messages
    --stdout                             write to stdout instead of stderr
                                         (this help is always written to stdout)

    --config-file=FILE                   read configuration from FILE.
    --log=FILE           -l FILE         log into FILE
    --daemon             -d              run in daemon mode
    --pid=FILE           -p FILE         save daemon's pid in FILE
    --user=USER          -u USER         run as USER
    --checks=#n          -c #n           number of checks per day, 1 <= n <= 50
    --datadir=DIRECTORY                  download new databases into DIRECTORY
    --daemon-notify[=/path/clamav.conf]  send RELOAD command to clamd
    --on-update-execute=COMMAND          execute COMMAND after successful update
    --on-error-execute=COMMAND           execute COMMAND if errors occured

-bash-2.05b# freshclam
ClamAV update process started at Wed Apr 28 09:45:31 2004
Reading CVD header (main.cvd): OK
main.cvd is up to date (version: 22, sigs: 20229, f-level: 1, builder: tkojm)
Reading CVD header (daily.cvd): OK
Downloading daily.cvd

  • daily.cvd updated (version: 287, sigs: 1047, f-level: 2, builder: tomek)
    Database updated (21276 signatures) from database.clamav.net (212.113.16.74).
    Clamd successfully notified about the update.


    扫描病毒

    -bash-2.05b# clamscan -r /root
    /root/.viminfo: OK
    /root/.bash_history: OK
    /root/CFOLibrary.dll: OK
    /root/#*mail*#25848DT2#: OK
    /root/.Xauthority: OK

    ----------- SCAN SUMMARY -----------
    Known viruses: 21276
    Scanned directories: 1
    Scanned files: 5
    Infected files: 0
    Data scanned: 0.08 MB
    I/O buffer size: 131072 bytes
    Time: 0.749 sec (0 m 0 s)

    以上就是简短说明,更详细的就看看官方的文档吧!!
      
  •  楼主| 发表于 2004-4-28 20:21:18 | 显示全部楼层
    靠,这么好都没人顶!!
    回复

    使用道具 举报

    发表于 2004-4-29 00:00:55 | 显示全部楼层
    关键是大家还没试用吧?我先顶,THX!
    我试了一下还不错,看了文档,还挺全面的,第三方软件也不少!最好的就是启动时可以加入clamd守护进程,linux下不多见。
    回复

    使用道具 举报

     楼主| 发表于 2004-4-29 08:49:14 | 显示全部楼层
    [quote:e46c63a898="w1ang"]关键是大家还没试用吧?我先顶,THX!
    我试了一下还不错,看了文档,还挺全面的,第三方软件也不少!最好的就是启动时可以加入clamd守护进程,linux下不多见。 [/quote]
    还是有识货的。呵呵。谢谢你顶!
    回复

    使用道具 举报

    发表于 2004-4-29 10:12:04 | 显示全部楼层
    支持实时杀毒和查杀WINDOWS吗?~

    我回去试试~
    回复

    使用道具 举报

    发表于 2004-4-29 10:23:41 | 显示全部楼层
    看来是不错的,我来顶,不过这个需要以后再试~
    回复

    使用道具 举报

    发表于 2004-4-29 16:33:04 | 显示全部楼层
    原来一直使用rava觉得不错
    这个我可以试一下。帮你顶一下。我给你置顶
    回复

    使用道具 举报

    发表于 2004-4-29 18:18:20 | 显示全部楼层
    多谢了,
    回复

    使用道具 举报

    发表于 2004-4-29 23:16:40 | 显示全部楼层
    有没有人用源码方式安装成功的啊?我怎么一直装都不成功。

    谁能不能写一篇详细点的安装配置文章
    回复

    使用道具 举报

    发表于 2004-4-30 08:45:05 | 显示全部楼层
    [quote:6daa48510e="pen2"]有没有人用源码方式安装成功的啊?我怎么一直装都不成功。

    谁能不能写一篇详细点的安装配置文章[/quote]
    源码包中有一篇pdf格式的安装说明。
    回复

    使用道具 举报

    发表于 2004-4-30 15:58:47 | 显示全部楼层
    我安装完运行 clamd可以正常运行,但是运行freshclam时提示,can't change dir /usr/local/local/clamav

    这是怎么回事
    回复

    使用道具 举报

    发表于 2004-5-2 09:18:09 | 显示全部楼层
    我试过了,不过的说!但好象只能检测到病毒,无法清除!而且tar.gz、tar.bz2里面有病毒也可以检测到,看来只能手动删除文件了~
    问个不太相关的话,常见的WINDOWS病毒寄存在LINUX里面应该也不会发作吧;)
    回复

    使用道具 举报

    发表于 2004-5-4 23:30:07 | 显示全部楼层
    [quote:f773d30446="pen2"]我安装完运行 clamd可以正常运行,但是运行freshclam时提示,can't change dir /usr/local/local/clamav

    这是怎么回事[/quote]


    已经搞定了,是权限的问题。
    回复

    使用道具 举报

    发表于 2004-5-5 14:33:39 | 显示全部楼层
    其实我也用了好久了

    [code:1]2004年05月05日星期三下午14时08分36秒[root@tian root]# rpm -qli clamav
    Name        : clamav                       Relocations: (not relocateable)
    Version     : 0.67                              Vendor: (none)
    Release     : 1                             Build Date: 2004年04月05日 星期一 20时13分19秒
    Install Date: 2004年04月08日 星期四 12时02分26秒      Build Host: www.ehuilong.com
    Group       : Applications/System           Source RPM: clamav-0.67-1.src.rpm
    Size        : 2160657                          License: GPL
    Signature   : (none)
    URL         : http://www.clamav.net/
    Summary     : An antivirus toolkit for Unix
    Description :
    Clam AntiVirus is a GPL anti-virus toolkit for UNIX. The main purpose of this
    software is the integration with mail servers (attachment scanning).
    The package provides a flexible and scalable multi-threaded daemon,
    a command line scanner, and a tool for automatic updating via Internet.
    The programs are based on a shared library distributed with package,
    which you can use with your own software.
    Most importantly, the virus database is kept up to date .
    /etc/clamav.conf
    /etc/freshclam.conf
    /etc/log.d/conf/services/clamav.conf
    /etc/log.d/scripts/services/clamav
    /etc/logrotate.d/clamd
    /etc/logrotate.d/freshclam
    /etc/rc.d/init.d/clamd
    /etc/rc.d/init.d/freshclam
    /usr/bin/clamdscan
    /usr/bin/clamscan
    /usr/bin/freshclam
    /usr/bin/sigtool
    /usr/lib/libclamav.so.1
    /usr/lib/libclamav.so.1.0.3
    /usr/sbin/clamd
    /usr/share/doc/clamav-0.67
    /usr/share/doc/clamav-0.67/AUTHORS
    /usr/share/doc/clamav-0.67/BUGS
    /usr/share/doc/clamav-0.67/COPYING
    /usr/share/doc/clamav-0.67/ChangeLog
    /usr/share/doc/clamav-0.67/FAQ
    /usr/share/doc/clamav-0.67/HOWTO-logwatch.txt
    /usr/share/doc/clamav-0.67/INSTALL
    /usr/share/doc/clamav-0.67/NEWS
    /usr/share/doc/clamav-0.67/README
    /usr/share/doc/clamav-0.67/RPM-clamav.txt
    /usr/share/doc/clamav-0.67/TODO
    /usr/share/doc/clamav-0.67/clamav-mirror-howto.pdf
    /usr/share/doc/clamav-0.67/clamdoc.pdf
    /usr/share/doc/clamav-0.67/html
    /usr/share/doc/clamav-0.67/html/clamdoc.css
    /usr/share/doc/clamav-0.67/html/footnode.html
    /usr/share/doc/clamav-0.67/html/img1.png
    /usr/share/doc/clamav-0.67/html/img2.png
    /usr/share/doc/clamav-0.67/html/img3.png
    /usr/share/doc/clamav-0.67/html/img4.png
    /usr/share/doc/clamav-0.67/html/index.html
    /usr/share/doc/clamav-0.67/html/node1.html
    /usr/share/doc/clamav-0.67/html/node10.html
    /usr/share/doc/clamav-0.67/html/node11.html
    /usr/share/doc/clamav-0.67/html/node12.html
    /usr/share/doc/clamav-0.67/html/node13.html
    /usr/share/doc/clamav-0.67/html/node14.html
    /usr/share/doc/clamav-0.67/html/node15.html
    /usr/share/doc/clamav-0.67/html/node16.html
    /usr/share/doc/clamav-0.67/html/node17.html
    /usr/share/doc/clamav-0.67/html/node18.html
    /usr/share/doc/clamav-0.67/html/node19.html
    /usr/share/doc/clamav-0.67/html/node2.html
    /usr/share/doc/clamav-0.67/html/node20.html
    /usr/share/doc/clamav-0.67/html/node21.html
    /usr/share/doc/clamav-0.67/html/node22.html
    /usr/share/doc/clamav-0.67/html/node23.html
    /usr/share/doc/clamav-0.67/html/node24.html
    /usr/share/doc/clamav-0.67/html/node25.html
    /usr/share/doc/clamav-0.67/html/node26.html
    /usr/share/doc/clamav-0.67/html/node27.html
    /usr/share/doc/clamav-0.67/html/node28.html
    /usr/share/doc/clamav-0.67/html/node29.html
    /usr/share/doc/clamav-0.67/html/node3.html
    /usr/share/doc/clamav-0.67/html/node30.html
    /usr/share/doc/clamav-0.67/html/node31.html
    /usr/share/doc/clamav-0.67/html/node32.html
    /usr/share/doc/clamav-0.67/html/node33.html
    /usr/share/doc/clamav-0.67/html/node34.html
    /usr/share/doc/clamav-0.67/html/node35.html
    /usr/share/doc/clamav-0.67/html/node36.html
    /usr/share/doc/clamav-0.67/html/node37.html
    /usr/share/doc/clamav-0.67/html/node38.html
    /usr/share/doc/clamav-0.67/html/node39.html
    /usr/share/doc/clamav-0.67/html/node4.html
    /usr/share/doc/clamav-0.67/html/node40.html
    /usr/share/doc/clamav-0.67/html/node41.html
    /usr/share/doc/clamav-0.67/html/node42.html
    /usr/share/doc/clamav-0.67/html/node43.html
    /usr/share/doc/clamav-0.67/html/node44.html
    /usr/share/doc/clamav-0.67/html/node45.html
    /usr/share/doc/clamav-0.67/html/node46.html
    /usr/share/doc/clamav-0.67/html/node47.html
    /usr/share/doc/clamav-0.67/html/node48.html
    /usr/share/doc/clamav-0.67/html/node49.html
    /usr/share/doc/clamav-0.67/html/node5.html
    /usr/share/doc/clamav-0.67/html/node50.html
    /usr/share/doc/clamav-0.67/html/node51.html
    /usr/share/doc/clamav-0.67/html/node52.html
    /usr/share/doc/clamav-0.67/html/node53.html
    /usr/share/doc/clamav-0.67/html/node54.html
    /usr/share/doc/clamav-0.67/html/node55.html
    /usr/share/doc/clamav-0.67/html/node56.html
    /usr/share/doc/clamav-0.67/html/node57.html
    /usr/share/doc/clamav-0.67/html/node58.html
    /usr/share/doc/clamav-0.67/html/node6.html
    /usr/share/doc/clamav-0.67/html/node7.html
    /usr/share/doc/clamav-0.67/html/node8.html
    /usr/share/doc/clamav-0.67/html/node9.html
    /usr/share/doc/clamav-0.67/signatures.pdf
    /usr/share/doc/clamav-0.67/test
    /usr/share/doc/clamav-0.67/test/README
    /usr/share/doc/clamav-0.67/test/debugm.c
    /usr/share/doc/clamav-0.67/test/mbox
    /usr/share/doc/clamav-0.67/test/mbox/debugm.c
    /usr/share/doc/clamav-0.67/test/rarfail.rar
    /usr/share/doc/clamav-0.67/test/test1
    /usr/share/doc/clamav-0.67/test/test1.bz2
    /usr/share/doc/clamav-0.67/test/test2.badext
    /usr/share/doc/clamav-0.67/test/test2.zip
    /usr/share/doc/clamav-0.67/test/test3.rar
    /usr/share/man/man1/clamdscan.1.gz
    /usr/share/man/man1/clamscan.1.gz
    /usr/share/man/man1/freshclam.1.gz
    /usr/share/man/man1/sigtool.1.gz
    /usr/share/man/man5/clamav.conf.5.gz
    /usr/share/man/man8/clamd.8.gz
    /var/lib/clamav
    /var/lib/clamav/daily.cvd
    /var/lib/clamav/main.cvd
    /var/log/clamav
    /var/run/clamav
    2004年05月05日星期三下午14时08分38秒[root@tian root]#

    [/code:1]
    回复

    使用道具 举报

    发表于 2004-5-5 14:55:58 | 显示全部楼层
    升级了:

    [code:1]
    2004年05月05日星期三下午14时28分34秒[root@tian gugong]# rpm -qi clamav
    Name        : clamav                       Relocations: (not relocateable)
    Version     : 0.70                              Vendor: (none)
    Release     : 1                             Build Date: 2004年05月05日 星期三 14时20分15秒
    Install Date: 2004年05月05日 星期三 14时20分52秒      Build Host: tian.com
    Group       : System Environment/Daemons    Source RPM: clamav-0.70-1.src.rpm
    Size        : 2721057                          License: GPL
    Signature   : (none)
    URL         : http://www.clamav.net/
    Summary     : An antivirus toolkit for Unix
    Description :
    Clam AntiVirus is a GPL anti-virus toolkit for UNIX. The main purpose of this
    software is the integration with mail servers (attachment scanning).
    The package provides a flexible and scalable multi-threaded daemon,
    a command line scanner, and a tool for automatic updating via Internet.
    The programs are based on a shared library distributed with package,
    which you can use with your own software.
    Most importantly, the virus database is kept up to date .
    2004年05月05日星期三下午14时28分56秒[root@tian gugong]#
    [/code:1]
    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 注册

    本版积分规则

    GMT+8, 2024-3-28 23:21 , Processed in 0.121042 second(s), 16 queries .

    © 2021 Powered by Discuz! X3.5.

    快速回复 返回顶部 返回列表