next up previous contents
Next: Testing Up: Installation Previous: Compilation   Contents

Configuration

If you are going to use the daemon you have to configure it because it won't run with default settings:
	$ clamd
	ERROR: Please edit the example config file
	       /etc/clamav.conf.
This shows a location of the configuration file. The format and options of this file are fully described in the clamav.conf(5) manual. clamd configuration is very easy because the config file is well commented. Remember - you must remove the "Example" directive.

Another feature of clamd is on-access scanning based on the Dazuko module, available from http://dazuko.org. This is not required to run clamd - furthermore, you shouldn't run Dazuko on production systems. A special thread in clamd responsible for a communication with Dazuko is called "Clamuko" (it's due to the funny name of Dazuko - we don't know what Clamuko means). Clamuko is supported on Linux and FreeBSD only. To compile dazuko execute:

	$ tar zxpvf dazuko-a.b.c.tar.gz
	$ cd dazuko-a.b.c
	$ make dazuko
	or
	$ make dazuko-smp (for smp kernels)
	$ su
	# insmod dazuko.o
	# cp dazuko.o /lib/modules/`uname -r`/misc
	# depmod -a
Depending on your Linux distribution you have to add a "dazuko" entry to
/etc/modules or something like:
	modprobe dazuko
to some startup file in order to load dazuko at a boot time. Compilation on FreeBSD is very similar. You must also create the /dev/dazuko device:
	$ cat /proc/devices | grep dazuko
	254 dazuko
	$ su -c "mknod -m 600 /dev/dazuko c 254 0"
Now just configure Clamuko in clamav.conf and see the 3.3 section.


next up previous contents
Next: Testing Up: Installation Previous: Compilation   Contents
Tomasz Kojm 2004-06-14