Avira AntiVirの導入(Debian squeeze)
インストールパッケージのダウンロード
下記URLより、antivir-workstation-pers-3.1.3.5-0.tar.gz をダウンロードする。
Avira AntiVirのインストール
ダウンロードしたファイルの解凍。
# cd /home/username/ダウンロード/ # tar -zxvf antivir-workstation-pers-3.1.3.5-0.tar.gz
インストールの実行
# cd antivir-workstation-pers-3.1.3.5-0 # ./install
...... copying vdf/vbase025.vdf to /usr/lib/AntiVir/guard/ ... done copying vdf/vbase026.vdf to /usr/lib/AntiVir/guard/ ... done copying vdf/vbase027.vdf to /usr/lib/AntiVir/guard/ ... done copying vdf/vbase028.vdf to /usr/lib/AntiVir/guard/ ... done copying vdf/vbase029.vdf to /usr/lib/AntiVir/guard/ ... done copying vdf/vbase030.vdf to /usr/lib/AntiVir/guard/ ... done copying vdf/vbase031.vdf to /usr/lib/AntiVir/guard/ ... done copying hbedv_key to /usr/lib/AntiVir/guard/ ... done copying /usr/lib/AntiVir/guard/hbedv_key to /usr/lib/AntiVir/guard/avira_personal.key ... done installation of AntiVir Core Components (Engine, Savapi and Avupdate) complete 2) Configuring updates An internet updater is available with version 3.1.3.5-0 of AVIRA AntiVir Workstation (UNIX). It will ensure that you always have the latest virus signatures and engine updates. In order to trigger an update you will need to run the command: /usr/lib/AntiVir/guard/avupdate-guard Would you like to create a link in /usr/sbin for avupdate-guard ? [y] y linking /usr/sbin/avupdate-guard to /usr/lib/AntiVir/guard/avupdate-guard ... done Would you like to setup Scanner update as cron task ? [y] y The AntiVir Updater can be set to always check for updates at a particular time of day. This is specified in a HH:MM format (where HH is the hour and MM is the minutes). If you do not have a permanent connection, you may set it to a time when you are usually online. available option: HH:MM What time should updates be done [00:15]? 23:00 creating Scanner update cronjob ... done Would you like to check for Guard updates once a week ? [n] n setup internet updater complete 3) installing main program copying doc/antivir_server_and_professional_en.pdf to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_personal_en.pdf to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_server_and_professional_de.pdf to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_personal_de.pdf to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_server_and_professional_en.txt to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_personal_en.txt to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_server_and_professional_de.txt to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_personal_de.txt to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/libdazuko2.so to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/libdazuko3compat2.so to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/avguard-ondemand-mgmt to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/avguard-scanner to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/avscan to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/avsavapi-super to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/avguard.bin to /usr/lib/AntiVir/guard/ ... done No Dazukofs module found on your system. DazukoFS is a stackable filesystem driver developed independently by the Dazuko project (www.dazuko.org). Which means codechanges, bugfixes and roadmap of this driver is completely done by the Dazuko project and their community. For your convenience you can start the DazukoFS installation from here. Would you like to install dazukofs now ? [y] y installing dazuko ... Available Dazuko3-Package: '3.0.0-rc4' checking for needed build components: checking for C compiler cc ... not found Dazuko installation failed Dazuko module (www.dazuko.org) provides a virtual device driver allowing AVIRA Guard to provide resident realtime protection of specified directories from malicious files. Guard will not offer "on access" protection if it does not find a loaded dazuko module or OnAccessManagement is set to "no". You can still continue with the installation if you are only planning to use the command-line scanner (avscan) or you are going to compile your own dazuko module later. Would you like to continue the installation ? [y] n
Cコンパイラが入ってなかったため、Dazukoのインストールが失敗。
「Would you like to continue the installation ? [y]」には「n」を回答してインストールを中断。
Cコンパイラをインストールする。
# apt-get install gcc
linux-headersも必要なので、インストールする。
# apt-get install linux-headers-2.6.32-5-686
makeが入ってない場合は、これもインストールする。
# apt-get install make -V
再度、Antivirのインストールを実行する。
# ./install ...... copying vdf/vbase030.vdf to /usr/lib/AntiVir/guard/ ... done copying vdf/vbase031.vdf to /usr/lib/AntiVir/guard/ ... done copying hbedv_key to /usr/lib/AntiVir/guard/ ... done copying /usr/lib/AntiVir/guard/hbedv_key to /usr/lib/AntiVir/guard/avira_personal.key ... done installation of AntiVir Core Components (Engine, Savapi and Avupdate) complete 2) Configuring updates An internet updater is available with version 3.1.3.5-0 of AVIRA AntiVir Workstation (UNIX). It will ensure that you always have the latest virus signatures and engine updates. In order to trigger an update you will need to run the command: /usr/lib/AntiVir/guard/avupdate-guard Scanner cronjob found in /etc/cron.d/avira_updater Would you like to replace the old cronjob? [n] Would you like to check for Guard updates once a week ? [n] setup internet updater complete 3) installing main program copying doc/antivir_server_and_professional_en.pdf to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_personal_en.pdf to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_server_and_professional_de.pdf to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_personal_de.pdf to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_server_and_professional_en.txt to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_personal_en.txt to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_server_and_professional_de.txt to /usr/lib/AntiVir/guard/ ... done copying doc/antivir_personal_de.txt to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/libdazuko2.so to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/libdazuko3compat2.so to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/avguard-ondemand-mgmt to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/avguard-scanner to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/avscan to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/avsavapi-super to /usr/lib/AntiVir/guard/ ... done copying bin/linux_glibc22/avguard.bin to /usr/lib/AntiVir/guard/ ... done No Dazukofs module found on your system. DazukoFS is a stackable filesystem driver developed independently by the Dazuko project (www.dazuko.org). Which means codechanges, bugfixes and roadmap of this driver is completely done by the Dazuko project and their community. For your convenience you can start the DazukoFS installation from here. Would you like to install dazukofs now ? [y] y installing dazuko ... Available Dazuko3-Package: '3.0.0-rc4' checking for needed build components: checking for C compiler cc ... found checking for C compiler gcc ... found checking for kernel sources ... found detecting kernel version ... 2.6.32 unpacking dazuko-3.0.0-rc4_2.6.29 ... done installing dazuko-3.0.0-rc4_2.6.29 ... make -C /lib/modules/`uname -r`/build SUBDIRS="`pwd`" modules make[1]: ディレクトリ `/usr/src/linux-headers-2.6.32-5-686' に入ります CC [M] /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/super.o CC [M] /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/inode.o CC [M] /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/file.o CC [M] /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/dentry.o CC [M] /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/mmap.o CC [M] /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/group_dev.o CC [M] /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/ign_dev.o CC [M] /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/ctrl_dev.o CC [M] /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/dev.o CC [M] /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/event.o /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/event.c: In function ‘dazukofs_get_event’: /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/event.c:1058: warning: ‘grp’ may be used uninitialized in this function LD [M] /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/dazukofs.o Building modules, stage 2. MODPOST 1 modules CC /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/dazukofs.mod.o LD [M] /usr/local/src/antivir-workstation-pers-3.1.3.5-0/contrib/dazuko/dazukofs-3.0.0-rc4_2.6.29/dazukofs.ko make[1]: ディレクトリ `/usr/src/linux-headers-2.6.32-5-686' から出ます mkdir -p /lib/modules/`uname -r`/kernel/fs/dazukofs cp dazukofs.ko /lib/modules/`uname -r`/kernel/fs/dazukofs /sbin/depmod -ae WARNING: -e needs -E or -F done initiate dazukofs ... done linking /usr/lib/AntiVir/guard/libdazuko.so to /usr/lib/AntiVir/guard/libdazuko3compat2.so ... done Guard will automatically protect all directories which are mounted upon dazukofs filesystem. Please specify at least one directory to be protected by Guard to add in /etc/fstab : [/home] The following directories will be protected by Guard: /home If you want to remove or include more directories you will need to edit your /etc/fstab file and remount dazukofs. backup original /etc/fstab to /etc/fstab.orig adding DazukoFS IncludePath /home to /etc/fstab ... done Mounting /home as dazukofs... copying etc/avscan.conf to /etc/avira/ ... done copying etc/avscan.conf to /etc/avira/avscan.conf.default ... done copying build.dat to /usr/lib/AntiVir/guard/ ... done copying script/avguard_start.sh to /usr/lib/AntiVir/guard/ ... done copying script/avguard_restart.sh to /usr/lib/AntiVir/guard/ ... done copying script/avguard_stop.sh to /usr/lib/AntiVir/guard/ ... done copying script/avguard_post.sh to /usr/lib/AntiVir/guard/ ... done copying script/avguardkey_post.sh to /usr/lib/AntiVir/guard/ ... done copying script/start_guard_upgrade.sh to /usr/lib/AntiVir/guard/ ... done copying script/smcagent_reload.sh to /usr/lib/AntiVir/guard/ ... done copying script/avira_start.sh.template to /usr/lib/AntiVir/guard/avguard ... done /home/quarantine, the AVIRA Guard default quarantine directory, does not exist. INFO: You can change the quarantine directory in /etc/avira/avguard.conf. and /etc/avira/avscan.conf after the installation. Would you like to create /home/quarantine ? [y] y creating /home/quarantine ... done Would you like to install the AVIRA Guard GNOME plugin ? [n] y installing AVIRA Guard GNOME plugin ... *** Installing pre-compiled applet [#ged191a2] done linking /usr/bin/avscan to /usr/lib/AntiVir/guard/avscan ... done linking /usr/bin/scan to /usr/lib/AntiVir/guard/avscan ... done Would you like to create a link in /usr/sbin for avguard ? [y] y linking /usr/sbin/avguard to /usr/lib/AntiVir/guard/avguard ... done Please specify if boot scripts should be set up. Set up boot scripts ? [y] setting up boot script ... done installation of AVIRA Guard complete checking for existing /etc/avira/avguard.conf ... not found copying etc/avguard.conf to /etc/avira/ ... done copying etc/avguard.conf to /etc/avira/avguard.conf.default ... done checking for existing /etc/avira/avguard-scanner.conf ... not found copying etc/avguard-scanner.conf to /etc/avira/ ... done copying etc/avguard-scanner.conf to /etc/avira/avguard-scanner.conf.default ... done creating /usr/lib/AntiVir/guard/agent ... done creating /usr/lib/AntiVir/agent ... done copying smcpkg/scanparameters.txt to /usr/lib/AntiVir/guard/agent/ ... done copying smcpkg/libuxwks.so.linux_glibc22 to /usr/lib/AntiVir/guard/agent/libuxwks.so ... done linking /usr/lib/AntiVir/guard/agent/libuxwks.so to /usr/lib/AntiVir/agent/libuxwks.so ... done copying smcpkg/libuxsrv.so.linux_glibc22 to /usr/lib/AntiVir/guard/agent/libuxsrv.so ... done linking /usr/lib/AntiVir/guard/agent/libuxsrv.so to /usr/lib/AntiVir/agent/libuxsrv.so ... done copying script/write_fstab.sh to /usr/lib/AntiVir/guard/agent/ ... done creating /usr/lib/AntiVir/guard/gui ... done creating /usr/lib/AntiVir/guard/gui/cert ... done creating /usr/lib/AntiVir/guard/gui/src ... done creating /usr/lib/AntiVir/guard/gui/bin ... done copying bin/linux_glibc22/avgu_stats.lck to /usr/lib/AntiVir/guard/gui/bin/ ... done copying bin/linux_glibc22/avgu_stats to /usr/lib/AntiVir/guard/gui/bin/ ... done copying bin/linux_glibc22/antivir_start.real to /usr/lib/AntiVir/guard/gui/bin/ ... done copying bin/linux_glibc22/antivir_start to /usr/lib/AntiVir/guard/gui/bin/ ... done copying smcpkg/src/antivir_start.c to /usr/lib/AntiVir/guard/gui/src/ ... done copying smcpkg/cert/client.jks to /usr/lib/AntiVir/guard/gui/cert/ ... done copying smcpkg/cert/server.pem to /usr/lib/AntiVir/guard/gui/cert/ ... done copying smcpkg/cert/cacert.jks to /usr/lib/AntiVir/guard/gui/cert/ ... done copying smcpkg/cert/cacert.pem to /usr/lib/AntiVir/guard/gui/cert/ ... done Would you like to start AVIRA Guard 2011-09-04 (日) 11:50:49 [y] y Starting AVIRA AntiVir Workstation Personal ... Starting: avguard.bin INFO: Your SMC plug-in was not registered. You can register the SMC plug-in with the following command: /usr/lib/AntiVir/agent/agent --install-plugin uxwks /usr/lib/AntiVir/guard/agent/libuxwks.so Installation of the following features complete: AntiVir Core Components (Engine, Savapi and Avupdate) AVIRA Internet Updater AVIRA Guard AntiVir SMC plugin *********************************************************** [#zda8f1cb] 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) *********************************************************** [#a7cfb807] Note: It is highly recommended that you perform an update now to ensure up-to-date protection. This can be done by running: /usr/lib/AntiVir/guard/avupdate-guard --product=Guard Be sure to read the manual file for additional information. Thank you for your interest in AVIRA AntiVir Workstation (UNIX).