Installation
Avira GmbH
Avira AntiVir UNIX Server
15
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.