Clamav

From CBLFS
Revision as of 09:54, 8 July 2008 by Chipster19 (talk | contribs) (New page: {| style="text-align: left; background-color: AliceBlue;" |- !Download Source: | http://downloads.sourceforge.net/clamav/clamav-{{Clamav-Version}}.tar.gz |} ---- {{Package-Introduction|C...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Download Source: http://downloads.sourceforge.net/clamav/clamav-0.96.tar.gz

Introduction to Clamav

Clam AntiVirus is an open source (GPL) anti-virus toolkit for UNIX, designed especially for e-mail scanning on mail gateways.

Project Homepage: http://www.clamav.org/


Dependencies

Optional

Creating the clamav User & Group

groupadd -g 36 clamav &&
useradd -c "Clam AntiVirus Daemon" -d /dev/null \
       -u 36 -g clamav -s /bin/false clamav

Non-Multilib

Compile the package:

./configure --prefix=/usr --sysconfdir=/etc \
     --with-zlib=/usr --with-dbdir=/var/lib/clamav &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

To do ...

Install the package:

To do ...

N32

Compile the package:

To do ...

Install the package:

To do ...

64Bit

Compile the package:

To do ...

Install the package:

To do ...

Configuring

Editing the clamd.conf file

Edit the /etc/clamd.conf and remove or comment the line where "Example" is writed.

Editing the freshclam.conf file

Edit the /etc/freshclam.conf file and remove or comment the line where "Example" is writed.

Edit the DatabaseDirectory to say where freschlam must find the virus databases following :

DatabaseDirectory /var/lib/clamav

Creating the freshclam.log file

This file is necessary for updating the virus databases, create it and change permissions following :

touch /var/log/freshclam.log &&
chmod 600 /var/log/freshclam.log &&
chown clamav /var/log/freshclam.log

Bootscript

Contents

Installed Directories: /var/lib/clamav
Installed Programs: clamscan, clamd, freshclam, sigtool, clamconf, clamav-config
Installed Libraries: libclamunrar.{a,la,so}, libclamunrar_iface.{a,la,so}, libclamav.{a,la,so}
Retrieved from "?title=Clamav&oldid=14714"