MTMD-又是小明小惠小萍網站 Logo
小明之友: Guest ; 群組: Guest
sun 今日上站: 2,577 ( 昨日上站:14,661rain 總上站數: 20,513,441
整點 [ 4 ] 連線: 370
目前逗留的有
文章搜尋 關於MTMD-又是小明小惠小萍網站 返回 [ MTMD-又是小明小惠小萍網站 ]主頁 互動訪客留言板
系統時間: 西元 2010 年 8 月 1日 04 點 37 分 52 秒  
訂閱 RSS
MTMD-又是小明小惠小萍網站 的留言板

folder MTMD-又是小明小惠小萍網站
folder 學習手扎文件區
│├folder 郵件系統設定
││└folder_move [手札]Clamav 安裝,以及與 Openwebmail 2.40 的相互配合
回覆主題前請先登入 發表新主題前請先登入
Go Previous [錯誤]Openwebmail 2.30:mailfilter I/O error! 解決方法 :: Go Top :: [備忘] Openwebmail.conf 相關設定 Go Next
[手札]Clamav 安裝,以及與 Openwebmail 2.40 的相互配合
├[ post: 2004-09-20 22:31:13 ] [ Read 2374 times now!! ]
└[ 小明冷涼卡好 ; 發表文章: 3909 篇 ; 註冊日期: 2002-12-25 ]
his90-TWShip.png

內容顯示: ( 圖文顯示模式:一般模式 )
安裝方法:

1. 至 "http://www.clamav.net/" 下載,clamav-0.75.1.tar.gz 檔

2. tar -zxvf clamav-0.75.1.tar.gz

3. cd clamav-0.75.1

4. 執行以下固定的指令...(記得先新增一個 User 與 Group 為 clamav 的帳號,否則會出錯唷)

Quote 引用文字
./configure --prefix=/usr/local/clamav
make;make install


5. 前往安裝目錄 "cd /usr/local/clamav"

6. 前往該目錄下的 "etc" 編輯 "clamav.conf" 以及 "freshclam.conf"

7. 編輯 "clamav.conf 與 freshclam.conf",註解以下資料...

Quote 引用文字
# Comment or remove the line below.
#Example


否則會出現以下訊息...

Quote 引用文字
ERROR: Please edit the example config file /usr/local/clamav/etc/clamav.conf.
ERROR: Can"2;t open/parse the config file /usr/local/clamav/etc/clamav.conf


8. 編輯 "freshclam.conf" 檔,程式作者建議改成下列的值...

Quote 引用文字
# How often check for a new database. We suggest checking for it every
# two hours.
Checks 2


9. 啟動 clamav "./usr/local/clamav/sbin/clamd"

10. 啟動 freshclam,"./usr/local/clamav/bin/freshclam",範例如下:

Quote 引用文字
[root@dns bin]# ./usr/local/bin/freshclam
ClamAV update process started at Mon Sep 20 21:35:08 2004
Reading CVD header (main.cvd): OK
Downloading main.cvd [*]
main.cvd updated (version: 27, sigs: 23982, f-level: 2, builder: tomek)
Reading CVD header (daily.cvd): OK
Downloading daily.cvd [*]
daily.cvd updated (version: 499, sigs: 319, f-level: 2, builder: ccordes)
Database updated (24301 signatures) from database.clamav.net (219.106.255.66).


11. 定義開機時便執行 "clamav",將 "/usr/local/sbin/clamd" 加入 "/etc/rc.d/rc.local" 中

12. 與 Openwebmail 配合

Quote 引用文字
# vi openwebmail.conf

enable_viruscheck yes
viruscheck_pipe /usr/local/clamav/bin/clamdscan --mbox --disable-summary --stdout -
viruscheck_source_allowed all

----------------------------------------------------------- Signature
好命去蹉跎!! 好命!! 好命!! 真好命~~~~
Back To Top ^
email home ipLogged
Link:
回覆主題前請先登入
Power By PHPPower By MySQL Valid HTML 4.01! Valid CSS!
PHP Writer Powered By Sean Chen ( 小明 )
© '02 - 2010, (lstar-MTMD-SYMing). All Rights Reserved. Version:1.2
最佳瀏覽環境 1024 × 768 ( 適用 Firefox, Opera, Safari, Google Chrome, IE )
Power By Apache Get Firefox!
How much time we take:0.065269947052002 ( Back To Top ^ )

free counters