~ubuntu-branches/ubuntu/hoary/clamav/hoary

« back to all changes in this revision

Viewing changes to docs/html/node14.html

  • Committer: Bazaar Package Importer
  • Author(s): Stephen Gran
  • Date: 2004-06-21 22:26:45 UTC
  • Revision ID: james.westby@ubuntu.com-20040621222645-jvaxzuttrjz6kh8t
Tags: upstream-0.73
ImportĀ upstreamĀ versionĀ 0.73

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 
2
 
 
3
<!--Converted with LaTeX2HTML 2K.1beta (1.48)
 
4
original version by:  Nikos Drakos, CBLU, University of Leeds
 
5
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
 
6
* with significant contributions from:
 
7
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
 
8
<HTML>
 
9
<HEAD>
 
10
<TITLE>Configuration</TITLE>
 
11
<META NAME="description" CONTENT="Configuration">
 
12
<META NAME="keywords" CONTENT="clamdoc">
 
13
<META NAME="resource-type" CONTENT="document">
 
14
<META NAME="distribution" CONTENT="global">
 
15
 
 
16
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
 
17
<META NAME="Generator" CONTENT="LaTeX2HTML v2K.1beta">
 
18
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
 
19
 
 
20
<LINK REL="STYLESHEET" HREF="clamdoc.css">
 
21
 
 
22
<LINK REL="next" HREF="node15.html">
 
23
<LINK REL="previous" HREF="node13.html">
 
24
<LINK REL="up" HREF="node6.html">
 
25
<LINK REL="next" HREF="node15.html">
 
26
</HEAD>
 
27
 
 
28
<BODY >
 
29
<!--Navigation Panel-->
 
30
<A NAME="tex2html510"
 
31
  HREF="node15.html">
 
32
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 
33
 SRC="/usr/share/latex2html/icons/next.png"></A> 
 
34
<A NAME="tex2html506"
 
35
  HREF="node6.html">
 
36
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 
37
 SRC="/usr/share/latex2html/icons/up.png"></A> 
 
38
<A NAME="tex2html500"
 
39
  HREF="node13.html">
 
40
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 
41
 SRC="/usr/share/latex2html/icons/prev.png"></A> 
 
42
<A NAME="tex2html508"
 
43
  HREF="node1.html">
 
44
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 
45
 SRC="/usr/share/latex2html/icons/contents.png"></A>  
 
46
<BR>
 
47
<B> Next:</B> <A NAME="tex2html511"
 
48
  HREF="node15.html">Testing</A>
 
49
<B> Up:</B> <A NAME="tex2html507"
 
50
  HREF="node6.html">Installation</A>
 
51
<B> Previous:</B> <A NAME="tex2html501"
 
52
  HREF="node13.html">Compilation</A>
 
53
 &nbsp <B>  <A NAME="tex2html509"
 
54
  HREF="node1.html">Contents</A></B> 
 
55
<BR>
 
56
<BR>
 
57
<!--End of Navigation Panel-->
 
58
 
 
59
<H2><A NAME="SECTION00038000000000000000">
 
60
Configuration</A>
 
61
</H2>
 
62
    If you are going to use the daemon you have to configure it because
 
63
    it won't run with default settings:
 
64
    <PRE>
 
65
        $ clamd
 
66
        ERROR: Please edit the example config file
 
67
               /etc/clamav.conf.
 
68
</PRE>
 
69
    This shows a location of the configuration file. The format and
 
70
    options of this file are fully described in the <I>clamav.conf(5)</I>
 
71
    manual. clamd configuration is very easy because the config file is well
 
72
    commented. Remember - you must remove the "Example" directive.
 
73
 
 
74
<P>
 
75
Another feature of clamd is on-access scanning based on the Dazuko module,
 
76
    available from <TT><A NAME="tex2html19"
 
77
  HREF="http://dazuko.org">http://dazuko.org</A></TT>. <B>This is not required to
 
78
    run clamd - furthermore, you shouldn't run Dazuko on production systems</B>.
 
79
    A special thread in clamd responsible for a communication with Dazuko
 
80
    is called "Clamuko" (it's due to the funny name of Dazuko - we don't know
 
81
    what Clamuko means). Clamuko is supported on Linux and FreeBSD only.
 
82
    To compile dazuko execute:
 
83
    <PRE>
 
84
        $ tar zxpvf dazuko-a.b.c.tar.gz
 
85
        $ cd dazuko-a.b.c
 
86
        $ make dazuko
 
87
        or
 
88
        $ make dazuko-smp (for smp kernels)
 
89
        $ su
 
90
        # insmod dazuko.o
 
91
        # cp dazuko.o /lib/modules/`uname -r`/misc
 
92
        # depmod -a
 
93
</PRE>
 
94
    Depending on your Linux distribution you have to add a "dazuko" entry to
 
95
<BR>    <I>/etc/modules</I> or something like:
 
96
    <PRE>
 
97
        modprobe dazuko
 
98
</PRE>
 
99
    to some startup file in order to load dazuko at a boot time. Compilation
 
100
    on FreeBSD is very similar. You must also create the <I>/dev/dazuko</I>
 
101
    device:
 
102
    <PRE>
 
103
        $ cat /proc/devices | grep dazuko
 
104
        254 dazuko
 
105
        $ su -c "mknod -m 600 /dev/dazuko c 254 0"
 
106
</PRE>
 
107
    Now just configure Clamuko in <I>clamav.conf</I> and see the <A HREF="node21.html#clamuko">3.3</A>
 
108
    section.
 
109
 
 
110
<P>
 
111
<HR>
 
112
<!--Navigation Panel-->
 
113
<A NAME="tex2html510"
 
114
  HREF="node15.html">
 
115
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 
116
 SRC="/usr/share/latex2html/icons/next.png"></A> 
 
117
<A NAME="tex2html506"
 
118
  HREF="node6.html">
 
119
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 
120
 SRC="/usr/share/latex2html/icons/up.png"></A> 
 
121
<A NAME="tex2html500"
 
122
  HREF="node13.html">
 
123
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 
124
 SRC="/usr/share/latex2html/icons/prev.png"></A> 
 
125
<A NAME="tex2html508"
 
126
  HREF="node1.html">
 
127
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 
128
 SRC="/usr/share/latex2html/icons/contents.png"></A>  
 
129
<BR>
 
130
<B> Next:</B> <A NAME="tex2html511"
 
131
  HREF="node15.html">Testing</A>
 
132
<B> Up:</B> <A NAME="tex2html507"
 
133
  HREF="node6.html">Installation</A>
 
134
<B> Previous:</B> <A NAME="tex2html501"
 
135
  HREF="node13.html">Compilation</A>
 
136
 &nbsp <B>  <A NAME="tex2html509"
 
137
  HREF="node1.html">Contents</A></B> 
 
138
<!--End of Navigation Panel-->
 
139
<ADDRESS>
 
140
Tomasz Kojm
 
141
2004-06-14
 
142
</ADDRESS>
 
143
</BODY>
 
144
</HTML>