Avira ANTIVIR UNIX SERVER User Manual

www.avira.com
User Manual
UNIX Server
More Than Security
Contents
1 About this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 The Structure of the Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3 Signs and Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.4 Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2 Product Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.2 Licensing Concept . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.3 Modules and Operating Mode of Avira AntiVir UNIX Server . . . . . . . . . . . . 9
2.4 System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.5 Technical Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.1 Getting the Installation Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.2 Licensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
3.3 Installing the Dazuko Kernel Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
3.4 Integration on Samba . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
3.5 Installing AntiVir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.6 Reinstalling AntiVir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.7 Installing AntiVir UNIX Server Using the Graphical Installation Routine 23
3.8 Integrating Third-Party Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
4 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
4.2 Configuration Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.3 Configuration Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
4.4 Configuring AntiVir Samba Scanner . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
4.5 Configuring Regular Updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
4.6 Testing AntiVir UNIX Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
5 Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
5.1 Overview of AntiVir Command Line Scanner . . . . . . . . . . . . . . . . . . . . . . . . 49
5.2 Using AntiVir Command Line Scanner . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53
5.3 Reaction to Detecting Viruses/ Unwanted Programs . . . . . . . . . . . . . . . . . .56
6 Graphical User Interface (GUI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
6.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57
6.2 AntiVir Scanner . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
6.3 AntiVir Guard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
7 Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
7.1 Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
7.2 Online Shop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80
7.3 Contact . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80
8 Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
8.1 Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
8.2 Further Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82
8.3 Golden Rules for Protection Against Viruses . . . . . . . . . . . . . . . . . . . . . . . . .83
2 Avira AntiVir UNIX Server Avira GmbH
1About this Manual
In this Chapter you can find an overview of the structure and contents of this manual.
After a short introduction, you can read information about the following issues:
The Structure of the Manual – Page 3
Signs and Symbols – Page 4

1.1 Introduction

We have included in this manual all the information you need about AntiVir and it will guide you step by step through installation, configuration and operation of the software.
The appendix contains a Glossary which explains the basic terms.
For further information and assistance, please refer to our website, to the Hotline of our Technical Support and to our regular Newsletter (see Service – Page 79).
About this Manual
Your Avira Team

1.2 The Structure of the Manual

The manual of your AntiVir software consists of a number of Chapters, providing you with the following information:
Chapter Contents

1 About this Manual The structure of the manual, signs and symbols

2 Product Information General information about AntiVir software, its
3 Installation Instructions to install AntiVir UNIX Server on your
4 Configuration Directions for optimum settings of AntiVir on your
5 Operation Working with AntiVir, after installation; targeted
6 Graphical User Interface (GUI) General information on GUI; operating and
7 Service
modules, features, system requirements and licensing.
system – using both the installation script and the graphical installation routine.
system.
scanning for viruses and unwanted programs; reactions when viruses and unwanted programs are detected.
configuring AntiVir UNIX Server using the GUI.
Avira GmbH Support and Service.
8 Appendix Glossary of technical terms and abbreviations,
Golden Rules for Protection against Viruses.
Avira GmbH Avira AntiVir UNIX Server
3
About this Manual

1.3 Signs and Symbols

The manual uses the following signs and symbols:
Symbol Meaning
3 ... shown before a condition that must be met prior to
... shown before a step you have to perform. ... shown before the result that directly follows the preceding
performing an action.
action.
... shown before a warning if there is a danger of critical data loss or hardware damage.
... shown before a note containing particularly important information, e.g. on the steps to be followed.
... shown before a tip that makes it easier to understand and use AntiVir UNIX Server.
For improved legibility and clear marking, the following types of emphasis are also used in the text:
Emphasis in text Explanation
Ctrl+Alt Key or key combination
/usr/lib/AntiVir/antivir Path and filename
ls usr/lib/AntiVir User entries
Choose component Select all
http://www.avira.com URLs
Signs and Symbols – Page 4 Cross-reference within the document
Elements of the software interface such as menu items, window titles and buttons in dialog windows
4 Avira AntiVir UNIX Server Avira GmbH

1.4 Abbreviations

The manual uses the following abbreviations:
Abbreviation Meaning
FAQ Frequently Asked Question
FQDN Fully Qualified Domain Name
GPL General Public License
GUI Graphical User Interface
MIME Multipurpose Internet Mail Extensions
MTA Mail Transport Agent
PMS Possibly Malicious Software
RFC Request For Comment
SMTP Simple Mail Transfer Protocol
VDF Virus Definition File
About this Manual
Avira GmbH Avira AntiVir UNIX Server
5
About this Manual
6 Avira AntiVir UNIX Server Avira GmbH

2 Product Information

You are responsible for numerous workstations and servers in your network but you are only human.
The servers are the heart of the network. So if viruses can freely penetrate and spread on your servers, your network is only a step away from breakdown. This is where AntiVir products for servers come in.
Product Information
UNIX computers are more often used as file servers or email gateway servers. Thus they transfer and store files that have no connection to UNIX, e.g. Office documents and email attachments. So, viruses can access a server through a Windows Client and freely cause damage.
Avira AntiVir UNIX Server is a comprehensive and flexible tool for confronting viruses and unwanted programs on your server and for reliable protection of your system.
Right from the beginning, two really important hints:
Losing valuable files usually has dramatic consequences. Not even the best antivirus software can fully protect you against data loss.
Ensure that you make regular backups of your files.
An antivirus program can be reliable and effective only if kept up to date.
Ensure that you keep your AntiVir programs up to date using
automatic updates as described in this user guide.
Avira GmbH Avira AntiVir UNIX Server
7
Product Information

2.1 Features

Avira AntiVir UNIX Server offers you extensive configuration possibilities to keep control of your network.
The current features of Avira AntiVir UNIX Server are:
Easy installation, using the installation script or the graphical installer.
Simple configuration: support for configuration using the configuration scripts, with
Command line scanner (on demand):
Resident guard (on access):
Heuristic detection of macroviruses.
Detection of all common archive types with certain recursion level in the case of
Simple integration with automatic jobs, such as scanning at a set time.
Automatic updates of AntiVir software via the Internet.
Comprehensive functions for logging, warnings and messages for the administrator;
Self-Integrity Program Check, which ensures the antivirus system is operating
Optional user-friendly graphical user interface (GUI) for operating and configuring
help text.
Configurable search for all known malware types (viruses, Trojans, backdoor programs, hoaxes, worms etc.)
Configurable reactions when detecting viruses or unwanted programs: repair, move, rename programs or files; automatically remove viruses or unwanted programs.
nested archives.
sending email warnings (SMTP).
correctly at all times.
Avira AntiVir UNIX Server.

2.2 Licensing Concept

You must have a license to use Avira AntiVir UNIX Server and accept the license terms (see http://www.avira.com/documents/general/pdf/en/avira_eula_en.pdf).
There are different license types for using the various functions of Avira AntiVir UNIX Server:
•Demo version
•Full version
Convenience Package
The license depends upon the number of users in the network who are to be protected by AntiVir.
The license is given in a license file named hbedv.key . You will receive it by email from Avira GmbH. It contains certain data, such as the programs you will use and the period of your license. The same license file may refer to more AntiVir products.
Demo Version
Without a license file, the AntiVir software runs as a demo version. It cannot detect the viruses and the other unwanted programs, which the licensed version detects. It only detects test signatures. Therefore, the demo version can only be used to test the features and operation of the software, as well as the integration with certain processes. It does not provide any protection against malware. You cannot perform automatic updates, so you always have to download the current virus definition files and the new versions of AntiVir scan engine manually from our website.
8 Avira AntiVir UNIX Server Avira GmbH
Product Information
It is not possible to block access to infected files, to repair or to move them with AntiVir.
Evaluation
Ver sion
Full Version
Convenience
Package
Details of the evaluation version can be found on our website: http://www.avira.com.
The range of full version features includes:
Provision of AntiVir versions by Internet download
License file by email, for converting the demo version to a full version
Complete installation instructions (digital)
PDF manuals available for Internet download
Four weeks installation support, starting from acquisition date
Newsletter service (by email)
Internet update service for program files and VDF
In addition to the full version license, the Convenience Package includes:
Every three months: free delivery of a boot-CD-ROM with the AntiVir Rescue System and all updated AntiVir products
Complete installation manual (printed) on first delivery
License file on a floppy disk with the first delivery
Newsletter service (printed, regular mail delivery)

2.3 Modules and Operating Mode of Avira AntiVir UNIX Server

The Avira AntiVir UNIX Server security software consists of the following program components:
AntiVir Command line scanner
•AntiVir Guard
AntiVir Samba Scanner
Internet Updater
AntiVir Command line scanner
... can always be launched from the command prompt (on-demand). Infected files and suspicious macros can be isolated, cleaned or deleted using a number of options. It can be integrated and used within scripts.
AntiVir Guard
... runs as a daemon process. It permanently monitors all user access in the network (on access) and it protects the files against viruses and unwanted programs. It immediately blocks access to infected files which can be automatically renamed, repaired or moved.
AntiVir Samba Scanner
... runs as a daemon process. It constantly monitors the file traffic through Samba Service (dedicated file and print server for Windows and UNIX workstations). It immediately blocks access to infected files which can be automatically renamed, repaired or moved. Apart from the administration log entries, it issues notifications for the remote users of the files.
Avira GmbH Avira AntiVir UNIX Server
9
Product Information
Internet Updater
... ensures that AntiVir is always kept up to date using your Internet connection. It checks if there are any new files to download and automatically updates your software if necessary.

2.4 System Requirements

Avira AntiVir UNIX Server asks for the following minimum system requirements on your server:
i386 (Linux, FreeBSD, OpenBSD, SunOS) or PowerPC (Linux) or Sparc (SunOS) processor;
80-100 MB free hard disk space;
20 MB temporary disk space;
192 MB (512 MB on SunOS) free memory space;
Linux with glibc; FreeBSD; OpenBSD or SunOS;
to integrate the on access scanner: Linux kernel 2.2, 2.4 or 2.6, optionally with RSBAC; FreeBSD 4, 5 or 6; SunOS 5.7, 5.8, 5.9 or 5.10 (Sparc) or 5.9 (i386);
to use the AntiVir Samba Scanner: Samba version with support for VFS Mechanism (version 2.2.0 or higher) and samba-vscan 0.3.5 or higher;
to use the GUI: Sun Java 1.4.0 or higher.

2.5 Technical Information

AntiVir Guard is based on Dazuko (http://www.dazuko.org), an open source software project. Dazuko is a kernel module which allows the AntiVir Guard daemon to access the files.
AntiVir Samba Scanner is based on samba-vscan (http://www.openantivirus.org/projects.php), an open source software project. samba­vscan is a VFS plug-in for Samba and it has a so-called AntiVir Backend, which allows the AntiVir Samba Scanner to access the files.
Please observe the license information in the installation directory /legal.
10 Avira AntiVir UNIX Server Avira GmbH

3 Installation

You can find the current version of AntiVir UNIX Server on the Internet. If you have a Convenience Package AntiVir CD-ROM, you may also install the product from it.
AntiVir is supplied as a packed archive. It contains AntiVir Guard, AntiVir Command line scanner and the Internet Updater.
You will be guided step by step throughout the installation procedure. This Chapter is divided into the following sections:
Getting the Installation Files – Page 11
Licensing – Page 12
Installing the Dazuko Kernel Module – Page 12
Integration on Samba – Page 14
Installing AntiVir – Page 16
Reinstalling AntiVir – Page 22
Installing AntiVir UNIX Server Using the Graphical Installation Routine – Page 23
Integrating Third-Party Products – Page 30
Installation

3.1 Getting the Installation Files

Downloading the Installation Files from the Internet
Download the current version file from our website http://www.avira.com
to your local computer. The file name is
antivir-server-prof-<version>.tar.gz (without graphical installer) or antivir-server-linux-gui_installer.tar.gz (with graphical installation routine).
Save the file in a /tmp folder on the computer on which you want to run AntiVir
UNIX Server.
Getting the Installation Files from CD-ROM
On the AntiVir CD-ROM open
/EN/PRODUCTS/UNIX/SERVER or /EN/PRODUCTS/UNIX/GUI_INSTALLERS/.
Copy the file antivir-server-prof-<version>.tar.gz or
antivir-server-linux-gui_installer.tar.gz in a directory, for example in
/tmp.
Unpacking Program Files
We will now describe the unpacking of the product kit without graphical installation routine:
Go to the temporary directory:
cd /tmp
Unpack the archive containing the AntiVir kit:
tar xzvf antivir-server-prof-<version>.tar.gz
In the temporary directory will then appear antivir-server-prof-<version> .
Change to the following directory:
Avira GmbH Avira AntiVir UNIX Server
11
Installation
cd /tmp/antivir-server-prof-<version>/contrib/dazuko
Unpack the archive containing the dazuko kernel module:
tar xzvf dazuko-<version>tar.gz
The dazuko-<version> directory is created.

3.2 Licensing

You must have an AntiVir license in order to use the full product (see Licensing Concept – Page 8). The license comes in a file named hbedv.key.
This license file contains information regarding the scope and period of the license. Without the license file, AntiVir UNIX Server runs only as a demo version with restricted features.
Purchasing the License
You may contact us by telephone or by email (info@avira.com) to acquire a license file
for AntiVir UNIX Server.
You will receive the license file by email.
You can easily acquire AntiVir UNIX Server using our Online Shop (for details, visit
http://www.avira.com).
Copying the License File
Copy the license file hbedv.key to the installation directory on your system
./tmp/antivir-server-prof-<version>
You can also perform the installation without having a license key from the beginning. AntiVir UNIX Server will then run as demo version.
You can copy the license file at any time to the AntiVir program directory /usr/lib/AntiVir .

3.3 Installing the Dazuko Kernel Module

Dazuko kernel module is required by all platforms to allow AntiVir Guard functionality.
Dazuko is necessary for installing the AntiVir Guard resident scanner.
AntiVir can be installed even without dazuko, but in this case it will run without AntiVir Guard. See more details in Installing AntiVir
without AntiVir Guard – Page 16.
You must compile the module yourself because your UNIX kernel and Dazuko must be based on the same source files. This is the only way you can ensure that Dazuko will have access to the same system functions as your UNIX kernel.
12 Avira AntiVir UNIX Server Avira GmbH
Installation
If your distribution supplier offers an exact matching module to your kernel:
Skip the following step.
Check the name of the module on the system (you might use this
information for further installation of AntiVir Guard). Use the following command:
find /lib/modules/‘uname -r‘ -name ’dazuko*’
The installation pack for SunOS (Sparc and i386) contains a binary module and you do not have to install it on this platform yourself.
The procedure is described, so that you do not need expert knowledge to perform it. Nevertheless, knowledge of UNIX kernel compilation is needed, especially when errors are encountered. Further information on this can be found at:
http://www.tldp.org/HOWTO/Kernel-HOWTO.html
Compiling Dazuko
3 Make sure that the source code for UNIX kernel is in /usr/src/linux . If not, install it
there. Information on this subject can be found in your UNIX provider documentation.
3 Check if you have on your computer the kernel compiling programs (for example gcc).
This also applies to UNIX standard installations. If not, install the required packages. Information on this subject can be found in your UNIX provider documentation.
3 Your UNIX kernel must be based on the source code from /usr/src/linux, as in most
cases, especially in a UNIX reinstallation. You can only be absolutely certain by recompiling the installed kernel using exactly these sources.
Go to the temporary directory where you unpacked Dazuko, for example:
cd /tmp/antivir-server-prof-<version>/contrib/dazuko/ dazuko-<version>
Check the configuration of your computer with the configure script. Based on this
information, it will provide appropriate guidance for further installation of the software:
If you are not certain about your UNIX kernel status, you should proceed with the installation. In the worst case, Dazuko will not be integrated into your UNIX kernel and the AntiVir Guard will not start. A message will be displayed and you can solve the situation afterwards.
./configure
Compile Dazuko:
make
Optionally: verify if the newly installed module works with the computer's running
kernel:
make test
Avira GmbH Avira AntiVir UNIX Server
13
Installation
Depending on your operating system, you will receive the file dazuko.o or dazuko.ko
in the temporary directory. AntiVir installation script will prompt for the path to this file later.
Further information on Dazuko can be found on the website: http://www.dazuko.org. You may find distribution-specific details already documented in the FAQ section.

3.4 Integration on Samba

You need AntiVir Backend for samba-vscan on all platforms in order to use the full features of AntiVir Samba Scanner.
You need AntiVir Backend for samba-vscan if you want transparent monitoring of the file access via Samba Service.
You can initially install AntiVir without samba-vscan. In this case, AntiVir runs without the Samba Scanner. You may still ensure appropriate protection of the file release using AntiVir Guard. The notifications to the remote users of the files are then implemented with the option ExternalProgram in AntiVir Guard and with own logic (for example, using UNIX scripts).
You have to create the AntiVir Backend for samba-vscan yourself (obtained through a VFS Plug-in for Samba) because your Samba Service and the Backend must be based on the same sources. Only this will ensure correct functionality of the VFS Plug-in and the stability of your file server.
To proceed with this step, you will need knowledge of Samba compiling and samba-vscan. Detailed information is found in the source pack documentation and on the websites of these projects.
Preparing Samba
3 Check that your system contains the programs needed for compiling sources (gcc,
make etc.). This might be the case for standard UNIX installations. If necessary, install the program packs. You can find more information in the documentation of your UNIX distribution.
3 Make sure that you have the source text for samba-vscan in version 0.3.5 or newer on
your system. There is a patch for version 0.3.5 which implements AntiVir Backend. Samba-vscan includes AntiVir Backend from version 0.3.6.
3 Make sure you have the exact version of Samba sources that you use for the file
server. You do not have to translate and install the entire Samba sources, only samba­vscan pack. The installation of the translated Samba is of course the best way to ensure that the Service and VFS plugin match one another.
If your distributor has included an AntiVir Backend suited for your Samba Server:
Skip the next step.
Check the name of the Backend and of the corresponding
configuration file on the system. Use the following command:
find /usr -name ’vscan-antivir.so’ find /usr -name ’vscan-antivir.conf*’
14 Avira AntiVir UNIX Server Avira GmbH
Installation
Change to the temporary directory where you have unpacked Samba. For example:
cd /tmp gunzip < samba-<version>tar.gz | tar xf -
cd samba-<version>/source
Check the configuration of your system with the configure script and based on the
details it finds create the corresponding information regarding further translation of the software:
./configure
Create the additional information needed by samba-vscan:
make proto
Go to the temporary directory where you unpacked samba-vscan. For example:
cd /tmp bunzip2 < samba-vscan-0.3.5.tar.bz2 | tar xf -
cd samba-vscan-0.3.5
Unpack the archive with AntiVir Backend for samba-vscan. This contains AntiVir
sources as a patch, which applies to samba-vscan 0.3.5 and integrates AntiVir Backend. Apply the patch (starting with samba-vscan version 0.3.6, this step is no
longer needed because AntiVir Backend is already included).
gunzip < /tmp/samba-vscan-antivir-0.3.5.tar.gz | tar xf -
patch -p0 < patch-sambavscan-hookup.diff
Configure and translate samba-vscan. For this, you have to indicate the Samba
sources:
./configure --with-samba-source=/tmp/samba-<version>/ source
make make install
You can use a configuration example for AntiVir samba-vscan Backend, which is
provided for some settings:
cp antivir/vscan-antivir.conf /usr/local/samba/lib
To integrate AntiVir Samba Scanner in smb.conf for monitoring of the released files, you must activate the vscan-antivir.so plug-in (see Configuring AntiVir Samba Scanner Page 40). There is no need to start additional services apart from Samba, as the plug-in vscan-antivir.so handles this aspect by itself.
Avira GmbH Avira AntiVir UNIX Server
15
Installation

3.5 Installing AntiVir

AntiVir is automatically installed using a script. This script performs the following tasks:
Checks integrity of the installation files.
Checks for the required permissions for the installation.
Checks for an existing version of AntiVir on the computer.
Copies the program files. Overwrites existing obsolete files.
Copies AntiVir configuration files. Existing AntiVir configuration files are inherited.
Optionally it creates a link in /usr/bin, so that AntiVir can be called from any folder without needing a given path.
Optionally it installs the Update Daemon and the resident scanner AntiVir Guard.
Optionally it configures an automatic start for AntiVir Updater and AntiVir Guard on system start-up.
The following steps must be taken for the initial installation:
Preparing Installation – Page 16
If Dazuko has not been compiled: Installing AntiVir without AntiVir Guard – Page 16
If Dazuko has been compiled: Installing AntiVir with AntiVir Guard – Page 19
Preparing Installation
Login as root. Otherwise you do not have the required authorization for installation
and the script returns an error message.
Go to the directory in which you unpacked AntiVir:
cd /tmp/antivir-server-prof-<version>
Installing AntiVir without AntiVir Guard
If you have not compiled the Dazuko kernel module, you can only install AntiVir without AntiVir Guard. AntiVir Guard can be easily installed later.
Type the command:
./install
Please note the dot and slash in the command syntax. Typing the command without this path specification, leads to another command, which is not related to AntiVir installation process and this would result in error messages and unwanted actions.
Press q to close the license text view.
16 Avira AntiVir UNIX Server Avira GmbH
Installation
The installation script starts. After you agree with the license terms, it will copy
the program files. Optionally, the Installer can read an existing license key:
Do you agree to the license terms? [n] y creating /usr/lib/AntiVir ... done
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/hbedv.key ... done copying script/configantivir to /usr/lib/AntiVir/ ... done linking /usr/bin/antivir to /usr/lib/AntiVir/antivir ... done installation of command line scanner complete
Then you are asked if you want to install the Internet Update Daemon:
2) installing automatic internet update daemon An internet update daemon is available ... ... Would you like to install the automatic internet update daemon? [n]
Installation
with Update
Daemon
You do not necessarily need Internet Update Daemon to keep AntiVir up to date. You can perform this operation manually via the Internet. See Updating AntiVir Manually – Page 55
However, for the initial installation, it is recommended to install the Update Daemon. You can deactivate it in the configuration settings.
If you choose to install the Internet Update Daemon (recommended):
Type Y and confirm with Enter.
Then, you are asked if the Update Daemon should start automatically:
Would you like to install the internet update daemon? [n] y copying script/rc.avupdater.SuSE8x to /usr/lib/AntiVir/avupdater ... done checking for existing /etc/avupdater.conf ... not found copying etc/avupdater.conf to /etc/ ... done
Would you like the internet update daemon to start automatically? [y]
Press Enter. You can change this setting later.
The automatic system start is configured:
setting up startup script ... done installation of the internet update daemon complete
Installation
without Update
Daemon
If you choose not to install the Internet Update Daemon, or to do this later, manually:
Type N or press Enter.
Confirm with Enter.
Avira GmbH Avira AntiVir UNIX Server
17
Installation
Skipping
AntiVir Guard
GUI
installation
You are asked if you want to install AntiVir Guard:
3) installing AvGuard Version 2.1.8-30 of AntiVir for UNIX Server is capable of on-access, real-time scanning of files. This provides ... 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 ... available options: m k n
How should AvGuard be installed? [k]
Type N and confirm with Enter.
The next step is for the installation of the optional user interface (GUI):
4) installing GUI (+ SMC support) ... Would you like to install the GUI (+ SMC support)? [y]
Starting
Configuration
AntiVir UNIX Server is provided with a GUI, which enables monitoring of realtime activity, the display of log entries and configuration of the product. However, AntiVir is fully functional even without the GUI.
If you want to install the GUI:
3 Java 1.4.0 or higher must be installed on your system
Answer Y when asked about GUI installation.
The GUI program files are copied.
Finally, you can configure the AntiVir Updater and start the AntiVir Guard immediately (if already activated during the installation, AntiVir Guard starts automatically on start­up):
5) configuring AntiVir Updater ... Would you like to configure AntiVir updater now? [y] n Would you like to start AvGuard now? [y] n
If you answer Y, AntiVir configuration script starts. You can carry out configuration at any time later. We recommend that you first learn about the configuration options and then carry out configuration.
End this procedure by answering N.
18 Avira AntiVir UNIX Server Avira GmbH
You will see a report that indicates the completion of the installation:
Installation of the following features complete: AntiVir command line scanner AntiVir Internet Update Daemon 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 AntiVir for UNIX Server.
Installing AntiVir with AntiVir Guard
3 Make sure that the Dazuko kernel module has been compiled (see Installing the
Dazuko Kernel Module – Page 12).
Type the command:
./install
Please note the dot and slash in the command syntax. Typing the command without this path specification, leads to another command, which is not related to AntiVir installation process and this would result in error messages and unwanted actions. Press q to close the license text view.
The installation script starts. After you agree with the license terms, it will copy
the program files. Optionally, the Installer can read an existing license key:
Installation
Do you agree to the license terms? [n] y creating /usr/lib/AntiVir ... done
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/hbedv.key ... done copying script/configantivir to /usr/lib/AntiVir/ ... done linking /usr/bin/antivir to /usr/lib/AntiVir/antivir ... done installation of command line scanner complete
Then you are asked if you want to install the Internet Update Daemon:
2) installing automatic internet update daemon An internet update daemon is available ... ... Would you like to install the automatic internet update daemon? [n]
You do not necessarily need Internet Updater to keep AntiVir up to date. You can perform this operation manually via the Internet. See
Updating AntiVir Manually – Page 55
However, for the initial installation, it is recommended to install the Updater. You can later deactivate it in the configuration settings.
Avira GmbH Avira AntiVir UNIX Server
19
Installation
Installation
with Update
Daemon
Installation
without Update
Daemon
Installing
AntiVir Guard
If you choose to install the Internet Update Daemon (recommended):
Type Y and confirm with Enter.
Then, you are asked if the Update Daemon should start automatically:
Would you like to install the internet update daemon? [n] y copying script/rc.avupdater.SuSE8x to /usr/lib/AntiVir/avupdater ... done checking for existing /etc/avupdater.conf ... not found copying etc/avupdater.conf to /etc/ ... done
Would you like the internet update daemon to start automatically? [y]
Press Enter. You can change this setting later.
The automatic system start is configured:
setting up startup script ... done installation of the internet update daemon complete
If you choose not to install the Internet Update Daemon, or to do this later, manually:
Type N or press Enter.
Confirm with Enter.
You are asked if you want to install AntiVir Guard:
3) installing AvGuard Version 2.1.8-30 of AntiVir for UNIX Server is capable of on-access, real-time scanning of files. This provides ... 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 ... available options: m k n
How should AvGuard be installed? [k]
Type M and confirm with Enter.
You will be asked to enter the path to the compiled Dazuko module dazuko.ko (or
dazuko.o):
Enter the full path to dazuko.ko:
Enter the full path.
For example: If dazuko.ko is in /tmp/antivir-server-prof-<version>/contrib/dazuko/ dazuko-<version>/ you should type:
/tmp/antivir-server-prof-<version>/contrib/dazuko/dazuko­<version>/dazuko.ko
20 Avira AntiVir UNIX Server Avira GmbH
Installation
The installation script reads the existing kernel module and then copies the files
for AntiVir Guard.
detecting kernel version ... linux26-2.6.5-7.97-smp creating /usr/lib/AntiVir/linux26-2.6.5-7.97-smp ... done copying /tmp/antivir-server-prof-2.1.8-30/contrib/dazuko/dazuko-2.3.1/ dazuko.ko to /usr/lib/AntiVir/linux26-2.6.5-7.97-smp/dazuko.ko ... done copying doc/avserver_de.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
If the installation script reports any errors on Dazuko, you should probably recompile your UNIX kernel. For more information, see http://www.dazuko.org
Then you are asked if the AntiVir Guard should be automatically run on system startup:
Would you like AvGuard to start automatically? [y]
Confirm with Enter.
Finally, the AntiVir Guard is linked to the startup script and the Guard’s
installation is completed:
GUI
installation
Starting
Configuration
setting up startup script ... done installation of AvGuard complete
The next step is for the installation of the optional user interface (GUI):
4) installing GUI (+ SMC support) ... Would you like to install the GUI (+ SMC support)? [y]
AntiVir UNIX Server is provided with a GUI, which enables monitoring of realtime activity, the display of log entries and configuration of the product. However, AntiVir is fully functional even without the GUI.
If you want to install the GUI:
3 Java 1.4.0 or higher must be installed on your system
Answer Y when asked about GUI installation.
The GUI program files are copied.
Finally, you can configure the AntiVir Updater and start the AntiVir Guard immediately (if already activated during the installation, AntiVir Guard starts automatically on start­up):
5) configuring AntiVir Updater ... Would you like to configure AntiVir updater now? [y] n Would you like to start AvGuard now? [y] n
Avira GmbH Avira AntiVir UNIX Server
21
Installation
If you answer Y, AntiVir configuration script starts. You can carry out configuration at any time later. We recommend that you first learn about the configuration options and then carry out configuration.
End this procedure by answering N.
You will see a report that indicates the completion of the installation:
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 AntiVir for UNIX Server.

3.6 Reinstalling AntiVir

You can launch the installation script at any time. There are several possible situations:
Installing a new version (upgrade). The installation script checks the prior version and installs the necessary new components. The configuration file settings already made are not overwritten (see Configuration – Page 31) but are inherited.
Later installation of some components, e.g. AntiVir Guard or Internet Update Daemon.
Activating or deactivating the automatic start of Internet Update Daemon or AntiVir Guard.
Reinstalling AntiVir
The procedure applies to all these cases:
3 First of all, you have to make sure that AntiVir Guard is stopped:
/usr/lib/AntiVir/avguard stop
Open the temporary directory where you unpacked AntiVir:
cd /tmp/antivir-server-prof-<version>
Type:
./install
The installation script performs as described in Installing AntiVir – Page 16).
Make the changes you need during installation procedure.
AntiVir is installed with the required features.
22 Avira AntiVir UNIX Server Avira GmbH
Installation

3.7 Installing AntiVir UNIX Server Using the Graphical Installation Routine

You can also install AntiVir using a simple graphical installation routine. All you need to do is download the corresponding file as described in Getting the Installation Files – Page 11.
The graphical installation routine serves for installation only. It is in no way related to the GUI for operating and configuring AntiVir UNIX Server.
AntiVir UNIX Server with graphical installation only applies to Linux. It needs Java 1.4.0 or higher.
3 Unpack the program into the following directory:
/tmp/antivir-server-linux-gui_installer.
Type:
./install
The welcome page appears with a program description:
Click Next.
Avira GmbH Avira AntiVir UNIX Server
23
Installation
The License Agreement window is displayed:
You must agree with these conditions in order to continue with the installation. If Disagree is active, you cannot proceed.
Select Agree and click Next.
You will see the following window:
There are three possibilities for installing AntiVir UNIX Server:
Express setup: The program is installed with basic settings.
Custom setup: The program is installed according to the user’s options.
GUI only: Only the GUI is installed in usr/lib/AntiVir.
Express setup
The program is installed with the following basic settings:
AntiVir UNIX Server is installed in the directory: /usr/lib/AntiVir
AntiVir Guard (on-access scanner) is installed.
The automatic Internet Update Daemon is not installed.
24 Avira AntiVir UNIX Server Avira GmbH
GUI support is activated.
AntiVir Guard will start automatically when booting.
The license file is not copied, meaning that AntiVir runs as a demo version.
Select Express setup and click Next.
All settings and further instructions appear in a window.
Click Install.
The program is installed.
Custom setup
You can install the program with user-defined settings.
Select Custom setup and click Next.
The following window asks if you want to install AntiVir Guard.
Installation
You can handle AntiVir Guard in one of the following ways:
Auto install: Dazuko sources are compiled and the kernel module is integrated.
Manual install: Dazuko kernel module is created manually (see Installing the
Dazuko Kernel Module – Page 12)
No Install: AntiVir Guard is not installed.
Select Auto install in order to install Dazuko automatically and click Next.
Avira GmbH Avira AntiVir UNIX Server
25
Loading...
+ 59 hidden pages