日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

centos 6.0安装杀毒软件clamAV 0.98

發布時間:2023/12/4 编程问答 34 豆豆
生活随笔 收集整理的這篇文章主要介紹了 centos 6.0安装杀毒软件clamAV 0.98 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

1、查看系統版本

[root@local]# lsb_release -a

LSB Version: ? ?:base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch

Distributor ID: CentOS

Description: ? ?CentOS release 6.4 (Final)

Release: ? ? ? ?6.4

Codename: ? ? ? Final

2、增加clamavyum安裝源

[root@local]# cd /etc/yum.repos.d/

[root@localyum.repos.d]#vi dag.repo

#Dag RPM Repository Start

[dag]

name=Dag RPM Repository forRHEL4

baseurl=http://ftp.riken.jp/Linux/dag/redhat/el4/en/$basearch/dag/

enabled=1

gpgcheck=1

#Dag RPM Repository End

[root@localyum.repos.d]# yum -y install clamd

出現錯誤:

warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1Signature, key ID 6b8d79e6: NOKEY

Public key forclamd-0.98-2.el4.rf.x86_64.rpm is not installed

[root@localyum.repos.d]#vi dag.repo

#Dag RPM Repository Start

[dag]

name=Dag RPM Repository forRHEL4

baseurl=http://ftp.riken.jp/Linux/dag/redhat/el4/en/$basearch/dag/

enabled=1

gpgcheck=0

#Dag RPM Repository End

將gpgcheck=1修改為gpgcheck=0 ?后正常安裝

3、啟動

[root@local/]# service clamd status

clamd is stopped

[root@local/]# service clamd start

Starting Clam AntiVirus Daemon: LibClamAV Warning: **************************************************

LibClamAV Warning: *** ?The virus database is older than 7 days! ?***

LibClamAV Warning: *** ? Please update it as soon as possible. ? ?***

LibClamAV Warning: **************************************************

[ ?OK ?]

4、更新病毒庫

[root@local/]# freshclam

ClamAV update process started at Mon Sep 30 16:08:12 2013

Downloading main-55.cdiff [100%]

main.cld updated (version: 55, sigs: 2424225, f-level: 60, builder: neo)

WARNING: getfile: daily-15077.cdiff not found on remote server (IP: 200.236.31.1)

WARNING: getpatch: Can't download daily-15077.cdiff from db.cn.clamav.net

Trying host db.cn.clamav.net (202.118.1.40)...

WARNING: getfile: daily-15077.cdiff not found on remote server (IP: 202.118.1.40)

WARNING: getpatch: Can't download daily-15077.cdiff from db.cn.clamav.net

WARNING: getpatch: Can't download daily-15077.cdiff from db.cn.clamav.net

WARNING: Incremental update failed, trying to download daily.cvd

Downloading daily.cvd [100%]

daily.cvd updated (version: 17916, sigs: 385455, f-level: 63, builder: neo)

Downloading bytecode.cvd [100%]

bytecode.cvd updated (version: 226, sigs: 43, f-level: 63, builder: neo)

Database updated (2809723 signatures) from db.cn.clamav.net (IP: 202.118.1.40)

Clamd successfully notified about the update.

5、查毒

掃描linux文件目錄

[root@local]# clamscan /data2/

/data2/log: OK

/data2/ceshi: Empty file

----------- SCAN SUMMARY -----------

Known viruses: 2804419

Engine version: 0.98

Scanned directories: 1

Scanned files: 1

Infected files: 0

Data scanned: 0.00 MB

Data read: 0.00 MB (ratio 0.00:1)

Time: 7.014 sec (0 m 7 s)


轉載于:https://blog.51cto.com/jinmy/1351978

總結

以上是生活随笔為你收集整理的centos 6.0安装杀毒软件clamAV 0.98的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。