歡迎您光臨本站 註冊首頁

ubuntu下殺毒軟體Antivir小紅傘安裝方法

←手機掃碼閱讀     火星人 @ 2014-03-26 , reply:0

linux相對於windows病毒少了太多太多,但並不代表linux就是絕對安全的,完全沒有病毒。想必大名鼎鼎的免費殺毒軟體小紅傘大家都聽說過,而且其還有linux版本,並且免費,安裝之後不僅linux安全性提高了還能殺windows盤的病毒,何樂而不為呢。由於linux下的小紅傘安裝過程比較麻煩,所以參考了別人的教程寫了這篇文章。

(一)安裝dazuko 為實現實時監控
1 安裝以下文件sudo apt-get install module-assistant debhelper gcc-3.4 sun-java6-jre build-essential

2 由於dazuko和capability,apparmor衝突就乾脆在新立得里把apparmor包給卸了。

3 到 http://www.dazuko.org/downloads.shtml 下載最新的dazuko2.3.4壓縮包,解壓縮然後

./configure --without-dep
make
sudo make install

4 終端執行
sudo module-assistant prepare
sudo m-a a-i dazuko

這樣就可以編譯好dazuko了

5 capability這個模塊與dazuko有所衝突,所以我們必須設置dazuko

sudo gedit /etc/modprobe.d/dazuko

輸入
install dazuko /sbin/modprobe -r capability;\
/sbin/modprobe --ignore-install dazuko; \
/sbin/modprobe --ignore-install capability

6 編輯module文件
sudo gedit /etc/modules
最後一行空行加上:
dazuko
保存

7 sudo rmmod capability
sudo modprobe dazuko
再用lsmod 查看commoncap的模塊,它的右邊used by dazuko,就說明dazuko已經開始工作了。

注意:每回kernel升級完后執行:
sudo m-a a-i dazuko

(二)開始AntiVir的安裝
1 下載AntiVir PersonalEdition Classic for linux http://www.free-av.com/

2 進入解壓后的文件夾
sudo ./install

3 根據英文提示,一步步完成
Do you agree to the license terms? [n] y

然後會要你Enter the path to your key file:

直接把??才解壓的紅傘包里hbedv.key拖進終端,但要去除路徑兩頭的引號(我去除時失敗了)

所以建議直接輸入hbedv.key的路徑,如/home/tom/antivir-workstation-pers-2.1.11-21/hbedv.key

Would you like to install the internet update daemon? [n] y

Would you like to create a link in /usr/sbin for avupdater ? [y] y

Would you like the internet update daemon to start automatically? [y] y

How should AvGuard be installed? [n] k <<<---注意這裡是選「K」

Would you like to create a link in /usr/sbin for avguard ? [y] y

Would you like AvGuard to start automatically? [y] y

Would you like to install the GUI (+ SMC support)? [y] y

Would you like to configure the AntiVir updater now? [y] y

Would you like email notification about updates? [n] 這裡根據個人喜好

What email address will receive notifications? [] 這裡也根據個人喜好

Would you like the updater to log to a custom file? [y] y

What will be the log file name with absolute path (it must begin with '/') ? [/var/log/avupdater.log]

How often should AntiVir check for updates? [2] 2

Does this machine use an HTTP proxy server? [n] n 有沒有用代理?

Save configuration settings? [y] y

Would you like to apply the new configuration? [y] y

經過如上設定,紅傘就自動更新了

4 注意:默認下,您和root都不能使用AntiVir。必須要在 系統>系統管理>用戶和組>管理組>antivir>屬性 中選上root和您的用戶名。

5 終端執行
sudo antivir-gui

打開紅傘的gui界面了 相比比windows下簡陋了許多

6 默認下,實時掃描只記錄又聞的檔案在 /var/log/avguard.log

因此先簡單配置:
在Gui(sudo antivir-gui)下,expertmode打勾
-Guard
--search > (添加或排除需要掃描的路徑的路徑 默認 /home 是必需的。)
--Action > Repair 打勾(不打也行)
Move to directory > 自己創建一個文件夾如myGuard(即時掃描發現病毒就送來)
--Heuristic>MacrovirusHeuristic 打勾
--Heuristic>Detection level high
--Extended threat categoties > select all

[火星人 ] ubuntu下殺毒軟體Antivir小紅傘安裝方法已經有1473次圍觀

http://coctec.com/docs/linux/show-post-180445.html