Logo

在VPS上安装小红伞防毒软体

小红伞这套德国佬研发的防毒口碑一直以来都还不错,既然有提供免费的就拉下来用吧! 连到小红伞官网可以查到最新版本是3.1.3.5-0,发行日期:2012/5/21,开始来安装吧~ 🤖🤓🤖

首先下载安装程式,然后参考说明来完成安装步骤

cd /usr/src
wget http://premium.avira-update.com/package/wks_avira/unix/en/pers/antivir_workstation-pers.tar.gz
tar xzf antivir_workstation-pers.tar.gz
wget -P /usr/src/antivir-workstation-pers-*/ http://dlce.antivir.com/down/windows/hbedv.key
cd antivir-workstation-pers-*
./install

点击ENTER键阅读版权提示(再按Q键跳过落落长的一堆阿沙布鲁 = =)

Press to view the license.
输入y同意版权提示
Do you agree to the license terms? [y] 输入y同意建立病毒码更新程式的连结
Would you like to create a link in /usr/sbin for avupdate-guard ? [y] 输入y同意建立扫描以及病毒码更新的计画任务
Would you like to setup Scanner update as cron task ? [y] 输入一个时间检查病毒码更新
What time should updates be done [00:15]?
输入y同意每周一次检查一次更新
Would you like to check for Guard updates once a week ? [y] 输入n跳过此步骤,除非需要安装dazukoFS这东西,Linux在档案存取控制这方面本来就很好了,跳过吧
Would you like to install dazukofs now ? [n] 添加一个预设扫描的目录到小红伞,如/home
lease specify at least one directory to be protected by Guard to add in /etc/fstab : [/home] 输入y同意建立隔离区在/home/quarantine
Would you like to create /home/quarantine ? [y] 输入n不建立GNOME桌面外挂模组
Would you like to install the AVIRA Guard GNOME plugin ? [n] 输入y同意建立小红伞程式的连结
Would you like to create a link in /usr/sbin for avguard ? [y] 输入y同意建立小红伞开机脚本
Set up boot scripts ? [y] 输入y同意启动小红伞
Would you like to start AVIRA Guard now? [y]

咻咻开始安装啦! 看到以下讯息就是安装完成了 🤓

Installation of the following features complete:
AntiVir Core Components (Engine, Savapi and Avupdate)
AVIRA Internet Updater
AVIRA Guard
AntiVir SMC plugin
***********************************************************
Configuration files:
/etc/avira/avguard.conf (AVIRA Guard main config)
/etc/avira/avscan.conf (AVIRA Guard avscan config)
/etc/avira/avguard-scanner.conf (AVIRA Guard scanner config)
/etc/avira/avupdate-guard.conf (AVIRA Avupdate options)
***********************************************************

安装完先更新病毒码
avupdate-guard --product=Guard
再把小红伞的服务打开
chkconfig --level 345 avguard on
/etc/init.d/avguard reload
avupdate-guard start

*********其他指令*********

检查小红伞版本以及设定
avscan -v
指定扫描 /var目录
avscan /var
更新病毒码
avupdate-guard --product=Guard
重新启动小红伞
/etc/init.d/avguard reload

进阶版,参考以下网址来建立一个每周扫描一次的计画任务,感谢作者Tats Shibata
https://github.com/rewse/avscan.cron
vi /etc/cron.weekly/avscan.cron
第14行这记得改成自己常用的信箱
MAIL_TO=”whoami@mac.com”
第17行这指定扫描目录,以空格做分隔
EXCLUDE_PATHS=”bin boot data etc lib opt root sbin srv tmp usr var”
最后替计画任务加上权限就完工了
chmod 755 /etc/cron.weekly/avscan.cron

列印本文 列印本文

关于 穷苦人家的小孩

In every democracy, the people get the government they deserve. ~Alexis de Tocqueville
上一篇:
下一篇:

您可能会喜欢

桃乃木かな 桃乃木香奈 Kana Momonogi

CloudCone全自动DD安装Windows

前阵子VPS优惠 – Clou …

一条留言

  1. 连LINUX上都要装防毒了@.@!