追蹤
想要一個人的旅行
關於部落格
Linux與自由軟體的分享,外加個人的浪漫情懷
  • 84935

    累積人氣

  • 2

    今日人氣

    1

    追蹤人氣

OpenSUSE 11.1安裝Ⅱ-防毒軟體AntiVir篇

好啦,
以下分成兩個部份,
第一部份是安裝Dazuko,
這裡先說一個觀念,那就是~~~
SUSE的套件庫很完整,所以要安裝什麼套件,最好先查一下SUSE的套件庫,
SUSE的套件庫裡有的,就從套件庫裡安裝,這樣99%不會有出現相依性的問題,
千萬不要傻傻的在別的網站抓了個SUSE的套件就來裝,
(嗯,我是常常忘記這個觀念啦,常常在那傻傻的抓了個套件就裝,還安裝失敗,最後才發現SUSE的套件庫早就有了)
有人會問,那如果SUSE的套件庫裡沒有怎麼辦~~~,
嗯,移送法辦~~~!!!!
大哥~~~,別鬧了,
這種情況是會發生的,解決方法有二,一個在後面就會說到,另一個在另一篇會提及,
廢話少說,
安裝OpenSUSE 11.1後,
先update一下吧,
打開YaST,
裡面有個"線上更新設定"
先更新一下你的套件庫資料,
(資料更新中)
接下來再從YaST打開"軟體管理"
"軟體管理"右上方有個放大鏡和一個掃把,
那是用來找套件的,
把"dazuko"打進去
發現六個套件,
(後來發現只要選第一個就好了,第二個會被自動選取)
嗯,
基於多裝不會死,少裝會很慘的心態,
~~~全裝,反正"才"六個而已???
六個而已???
別鬧了,看下面,
要裝的套件是只有六個啦,
可是附帶要裝或是要update的,就有15個,
足足是要裝的套件的2.5倍~~,
這些套件加起來可是超過200mb的哦,
不過你也沒別的選擇,
全裝吧~~,
按確定後會有個確認套件授權,當然是"我同意"囉~~
嗯,
接下來就是
"等等~~等~等~~等等~~等等等"(讀者請自行加上mission impossible的配樂)
至於多久會好,就看你的頻寬和你的運氣囉~~~
好,
洗個澡,喝個咖啡,和女朋友聊一下天,
終於等到這個畫面,
給他按下去,~~~重開機!!
開完機,
接下就是第二部份,Antivir安裝了,
妳可以像下面這樣安裝,
不過~~~,
雖然表面上是順順利利的安裝完成了,
實際上AVGuard卻是找不到Dazuko,
所以只好到AVIRA網站上去抓,
幸好Antivir是少數沒有相依性問題的軟體,所以只要載得下來就OK了~~~
(這是在抓SUSE套件庫內沒有的套件,最容易也是最幸運的方法)
下載完後解檔
//*一個重點:切記,安裝前要把YaST下安裝的AntiVir先行反安裝,再重開機,不然會安裝不起來
tar -zxvf antivir-workstation-pers.tar.gz
(tar -zxvf是什麼?那你就找鳥哥哈啦一下吧~~~)
就會出現一個檔案夾,
進入檔案夾,
cd ~/antivir-workstation-pers-2.1.12-19
執行安裝
./install
好了,
下面是安裝過程,
有加*//的是附加的說明~~~
tarting Avira AntiVir Workstation (UNIX) 2.1.12-19 installation...
 
Before installing this software, you must agree to the terms
of the license.
 
Use the arrow keys to scroll through the license. When you
are finished reading, press 'q' to exit the viewer.
 
Press <ENTER> to view the license.
*//有一段長長的版權說明,看完按"q"
 
Do you agree to the license terms? [n] y
 
*//問妳同意不同意,~~~不同意就安裝不下去了!! 
 
previous installation of AntiVir found
(updating necessary components)
 
*//由於我是重新安裝,所以會出現"already exists","Should they be overwritten?"的字眼,如果你是第一次安裝,是不會出現這些東東的 
 
creating /usr/lib/AntiVir ... already exists
1) installing command line scanner
copying bin/antivir to /usr/lib/AntiVir/ ... done
copying vdf/antivir0.vdf to /usr/lib/AntiVir/ ... done
copying vdf/antivir1.vdf to /usr/lib/AntiVir/ ... done
copying vdf/antivir2.vdf to /usr/lib/AntiVir/ ... done
copying vdf/antivir3.vdf to /usr/lib/AntiVir/ ... done
 
Enter the path to your key file: [hbedv.key] 
copying hbedv.key to /usr/lib/AntiVir/hbedv3.key ... done
copying script/configantivir to /usr/lib/AntiVir/ ... done
installation of command line scanner complete
 
 
2) installing internet update daemon
An internet update daemon is available with version 2.1.12-19 of
Avira AntiVir Workstation (UNIX). This is a program that will run in the background
and automatically check for updates (internet access is required).
Instead of installing the internet update daemon, you may also
manually check for updates using:
 
     antivir --update
 
Please read the README file for more information about updating and
which method best suits you.
 
Would you like to re-install the internet update daemon? [n] y
copying script/rc.avupdater.SuSE8x to /usr/lib/AntiVir/avupdater ... done
checking for existing /etc/avupdater.conf ... found
copying etc/avupdater.conf to /etc/avupdater.conf.default ... done
 
Would you like the internet update daemon to start automatically? [y] y
 
Startup scripts for the internet update daemon have been found.
Should they be overwritten? [y] y
setting up startup script ... done
re-installation of the internet update daemon complete
 
*//上面是把自動update的程式寫進去~~~
 
3) installing AvGuard
 
*//重點來了,這裡就是大家會很想砍電腦的時候了!!
 
Version 2.1.12-19 of Avira AntiVir Workstation (UNIX) is capable of on-access,
real-time scanning of files. This provides the ultimate protection
against viruses and other unwanted software. The on-access scanner
(called AvGuard) is based on Dazuko, a free software project providing
access control. In order to use AvGuard you will need to compile Dazuko
for your kernel. Please refer to contrib/dazuko/HOWTO-Dazuko for
information about how to do this. There are several ways in which you
can install AvGuard.
 
        module     - Dazuko will be loaded by the avguard script
 
        kernel     - Dazuko is always loaded
                     (and should not be loaded by the avguard script)
 
        no install - do not install AvGuard at this time
 
Note: Dazuko currently only works with GNU/Linux, FreeBSD and Solaris
      systems. If you are interested in helping us port Dazuko to
      OpenBSD, feel free to check out the Dazuko Project at:
      http://www.dazuko.org
 
available options: m k n
 
How should AvGuard be installed? [k]
 
*//選"k"是因為Dazuko已經包進核心了(記得我們之前的重開機吧)
 
copying doc/avserver_en.pdf to /usr/lib/AntiVir/ ... done
copying script/rc.avguard.SuSE8x to /usr/lib/AntiVir/avguard ... done
copying doc/MANUAL to /usr/lib/AntiVir/MANUAL.avguard ... done
 
Would you like AvGuard to start automatically? [y] y
 
Startup scripts for AvGuard have been found.
Should they be overwritten? [y] y
setting up startup script ... done
installation of AvGuard complete
 
*//好,最麻煩的AvGuard安裝完成
 
4) installing GUI (+ SMC support)
 
*//接下來這是使用介面的安裝,安裝後就會出現像在windows下的使用介面
 
Note: The AntiVir Security Management Center (SMC) requires this
      feature, even if you do not intend to use the GUI.
 
This product comes with a GUI that allows you to monitor realtime
activity, view logs, and configure the product. This tool is optional
(not required) for the product to run.
 
The GUI requires Sun Java 1.4.x or higher.
 
*//Sun Java 1.4->如果你的電腦裡沒有這個東東,那這個好用的操作介面就不會出現了~~~
 
Would you like to install the GUI (+ SMC support)? [y] y
checking for existing /etc/avguard.conf ... found
copying etc/avguard.conf-gui to /etc/avguard.conf.default ... done
copying common gui files to /usr/lib/AntiVir/gui ... done
copying platform dependant gui files to /usr/lib/AntiVir/gui ... done
copying script/antivir-gui to /usr/lib/AntiVir/ ... done
installation of GUI complete
 
 
*//好,這個東東也安裝完成了~~
 
5) configuring AntiVir Updater
 
 
*//最後是AntiVir的更新設定了~~~
 
Your connection to the internet might require special configuration
settings (such as HTTP proxy settings). You may also want the
updater to log to specific files or send email notification. You
now have the opportunity to set these options.
 
Would you like to configure the AntiVir updater now? [y] y
 
EmailTo                                                         (1 of 4)
=======
You may configure the AntiVir Updater to send out an email message
whenever an update was successful or an error with the update occurred.
 
available options: y n
 
Would you like email notification about updates? [n] 
 
 
 
 
 
LogTo                                                           (2 of 4)
=====
In addition to logging update activity through syslog, you may also
specify your own log file for messages that are generated by the.
AntiVir Updater. This can make it simpler to review past activity
without having to sift through syslog files.
 
available options: y n
 
Would you like the updater to log to a custom file? [y] 
What will be the log file name with absolute path (it must begin with '/')
? [/var/log/avupdater.log] 
 
 
 
AutoUpdateEvery2Hours/AutoUpdateDaily                           (3 of 4)
=====================================
AntiVir is equipped with an Internet Update Daemon. At specified
intervals, AntiVir will connect to an update server to check for newer
versions of the AntiVir engine or the data files. If a newer
version is available, AntiVir will automatically download and install
the updates without requiring any special attention. This allows AntiVir
to be kept current against attacks and problems.
 
AntiVir can be configured to check for updates every 2 hours (2) or
once a day (d). You can also choose to disable the Internet Update
Daemon (n).
 
Note: Updates can also be done manually from the command line:
           antivir --update
      You may prefer to disable the Internet Update Daemon and
      instead perform regular updates using a cron(8) job.
 
      Using the startup script for the Internet Update Daemon when
      it is disabled will result in an error.
 
available options: 2 d n
 
How often should AntiVir check for updates? [2] 
 
HTTPProxyServer/HTTPProxyPort                                 (4 of 4)
=============================
If this machine is sitting behind an HTTP proxy server, you will need to
configure AntiVir with the appropriate proxy settings. Internet access
is required in order to make updates.
 
available options: y n
 
Does this machine use an HTTP proxy server? [n] 
 
*//這裡沒什麼好說的,像windows下一直按enter
 
AntiVir Configuration
=====================
Here are the configuration settings you have specified. Look them over
to make sure they are correct.
 
email notification:           no
specific logfile:             /var/log/avupdater.log
update frequency:             every 2 hours (if update daemon is running)
http proxy server:            none
 
available options: y n
 
Save configuration settings? [y] 
 
* SUCCESS *
 
Configuration successfully saved to.
/etc/avupdater.conf
 
Press <ENTER> to continue.
 
 
*//將設定值寫入,就快好了~~~
 
 
Running Internet Update Daemon
==============================
In order for the Internet Update Daemon to be active on your
system, you must run the software. This can be done manually each
time the system is booted with the command:
 
/usr/lib/AntiVir/avupdater start
 
You can have it start automatically by adding avupdater to your
startup scripts. Depending on your system, this can vary. Consult
your system documentation on startup scripts.
 
During the installation, you had the option to set the updater to
start automatically.
 
available options: y n
 
Would you like to apply the new configuration? [y] 
 
Stopping AntiVir: avupdater                                          done
Starting AntiVir: avupdaterAntiVir / Linux Version 2.1.12-136
Copyright (c) 2008 by Avira GmbH.
All rights reserved.
 
AntiVir Automatic Internet Updater
 
status: active
update: every 2 hours
log:  /var/log/avupdater.log
 
                                                                     done
 
 
AntiVir Status: avupdater running                                    running
 
Here are some commands that you should remember...
 
configure updater:    /usr/lib/AntiVir/configantivir
start update daemon:  /usr/lib/AntiVir/avupdater start
stop update daemon:   /usr/lib/AntiVir/avupdater stop
update daemon status: /usr/lib/AntiVir/avupdater status
 
Press <ENTER> to continue.
 
Would you like to start AvGuard now? [y] 
Starting AntiVir: avguard-workstation (FAILED)
 
error: antivir is already running
 
AntiVir Status: avguard-workstation (Dazuko available, 1 daemons)    running
                                                                     failed
 
 
*//failed~~~!!!!,不用怕,上面還有個running,是因為程式已經在跑了,所以無法啟動(start)--這裡要的話是restart(就說了,這是第二次安裝了) 
 
 
Installation of the following features complete:
     AntiVir command line scanner 
     AntiVir Internet Update Daemon 
     AntiVir Guard 
     AntiVir GUI
 
 
Note: It is highly recommended that you perform an update now to
      ensure up-to-date protection. This can be done by running:
 
      antivir --update
 
Be sure to read the README file for additional information.
Thank you for your interest in Avira AntiVir Workstation (UNIX)
 
好了,一切都裝好了,
看看這個畫面~~~,
一切辛苦都值了~~~


最後,睡覺去了~~~~zzzzzz
 





相簿設定
標籤設定
相簿狀態