Centos安裝Clamav經驗分享(網路上取得)

Centos安裝Clamav經驗分享(網路上取得)

Centos安裝Clamav經驗分享,050129更新版
Centos版本2.4.21-27.0.2.EL
Clamav版本Latest release: 0.81-1

安裝步驟
1.先下載這五個套件,因為我只用到前三個套件,其他的兩個下載留著用
1-1.(clamav-db-0.81-1.1.el3.rf.i386.rpm)
1-2.(clamav-0.81-1.1.el3.rf.i386.rpm)
1-3.(clamd-0.81-1.1.el3.rf.i386.rpm)
1-4.(clamav-devel-0.81-1.1.el3.rf.i386.rpm)
1-5.(clamav-milter-0.81-1.1.el3.rf.i386.rpm)

clamav-db-0.81-1.1.el3.rf.i386.rpm
下載位置
http://dag.wieers.com/packages/clamav/clamav-db-0.81-1.1.el3.rf.i386.rpm

clamav-0.81-1.1.el3.rf.i386.rpm
下載位置
http://dag.wieers.com/packages/clamav/clamav-0.81-1.1.el3.rf.i386.rpm

clamd-0.80-2.1.el3.rf.i386.rpm
下載位置
http://dag.wieers.com/packages/clamav/clamd-0.81-1.1.el3.rf.i386.rpm

3.先安裝clamav-db-0.81-1.1.el3.rf.i386.rpm
安裝命令如下
rpm -ivh clamav-db-0.81-1.1.el3.rf.i386.rpm

4.再安裝clamav-0.81-1.1.el3.rf.i386.rpm
安裝命令如下
rpm -ivh clamav-0.81-1.1.el3.rf.i386.rpm

5.最後安裝clamd-0.81-1.1.el3.rf.i386.rpm
安裝命令如下
rpm -ivh clamd-0.81-1.1.el3.rf.i386.rpm

6.啟動clamd
啟動命令如下
/etc/rc.d/init.d/clamd start

7.更新一下病毒碼
執行命令如下
freshclam

注意一下病毒碼是否更新為最新版的
ClamAV update process started at Sat Jan 29 14:48:18 2005
main.cvd is up to date (version: 29, sigs: 29086, f-level: 3, builder: tomek)
daily.cvd is up to date (version: 690, sigs: 802, f-level: 4, builder: trog)

6.測試一下ClamAV是否能夠掃瞄病毒
#掃描一下/tmp目錄,小弟故意放一個有毒的檔案,測試後,果然有毒
執行命令如下
clamscan /tmp

參考看看囉!

* This article was originally published here

Previous post:

Leave a Reply

Your email address will not be published. Required fields are marked *