468b9e48 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--Converted with LaTeX2HTML 2K.1beta (1.48)
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD> |
a0faaedf |
<TITLE>Installation</TITLE>
<META NAME="description" CONTENT="Installation"> |
468b9e48 |
<META NAME="keywords" CONTENT="clamdoc">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="LaTeX2HTML v2K.1beta">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="clamdoc.css">
<LINK REL="next" HREF="node11.html">
<LINK REL="previous" HREF="node9.html">
<LINK REL="up" HREF="node6.html">
<LINK REL="next" HREF="node11.html">
</HEAD>
<BODY >
<!--Navigation Panel--> |
a0faaedf |
<A NAME="tex2html295" |
468b9e48 |
HREF="node11.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
SRC="/usr/share/latex2html/icons/next.png"></A> |
a0faaedf |
<A NAME="tex2html291" |
468b9e48 |
HREF="node6.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
SRC="/usr/share/latex2html/icons/up.png"></A> |
a0faaedf |
<A NAME="tex2html285" |
468b9e48 |
HREF="node9.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
SRC="/usr/share/latex2html/icons/prev.png"></A> |
a0faaedf |
<A NAME="tex2html293" |
468b9e48 |
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
SRC="/usr/share/latex2html/icons/contents.png"></A>
<BR> |
a0faaedf |
<B> Next:</B> <A NAME="tex2html296"
HREF="node11.html">Configuration</A>
<B> Up:</B> <A NAME="tex2html292" |
468b9e48 |
HREF="node6.html">Installation</A> |
a0faaedf |
<B> Previous:</B> <A NAME="tex2html286"
HREF="node9.html">Binary packages</A>
  <B> <A NAME="tex2html294" |
468b9e48 |
HREF="node1.html">Contents</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
<H2><A NAME="SECTION00034000000000000000"> |
a0faaedf |
Installation</A> |
468b9e48 |
</H2>
<P> |
a0faaedf |
Please read the README file in the current version, because it may
contain some important release notes.
If you are installing ClamAV for the first time, you have to add a new
<I>clamav</I> user and group to your system: <A NAME="tex2html10"
HREF="footnode.html#foot137"><SUP>3</SUP></A>
<P>
<PRE>
# groupadd clamav
# useradd -g clamav -s /bin/false -c "Clam AntiVirus" clamav
</PRE>
<P>
The above method works on Linux and Solaris, in case you don't have
<I>groupadd, useradd</I> please consult a system manual.
If you are installing ClamAV on user account you may omit this step with
the option <I>-disable-clamav</I> passed to the <I>configure</I> script:
<PRE>
$ ./configure --disable-clamav
</PRE>
This disables test for the <I>clamav</I> user and group. <B>clamscan</B>
still requires <I>clamav</I> to work in the superuser mode. The password
for the <I>clamav</I> account should be locked in <I>/etc/passwd</I> or
<I>/etc/shadow</I>.
<P>
Once you have created the clamav user and group, please extract the archive:
<PRE>
$ zcat clamav-x.yz.tar.gz | tar xvf -
$ cd clamav-x.yz
</PRE>
Assuming you want to have the configuration file installed in /etc,
configure the package as follows:
<PRE>
$ ./configure --sysconfdir=/etc
</PRE>
Currently <I>gcc</I> is required for the compilation. Support for other
compilers will be added in a near future.
<PRE>
$ make
$ su -c "make install"
</PRE>
In the last step software is installed in the /usr/local directory
and the config file in /etc.
<B>WARNING: Never set SUID or SGID bits on Clam AntiVirus programs.</B>
<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html295"
HREF="node11.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
SRC="/usr/share/latex2html/icons/next.png"></A>
<A NAME="tex2html291"
HREF="node6.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
SRC="/usr/share/latex2html/icons/up.png"></A>
<A NAME="tex2html285"
HREF="node9.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
SRC="/usr/share/latex2html/icons/prev.png"></A>
<A NAME="tex2html293"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
SRC="/usr/share/latex2html/icons/contents.png"></A>
<BR>
<B> Next:</B> <A NAME="tex2html296"
HREF="node11.html">Configuration</A>
<B> Up:</B> <A NAME="tex2html292"
HREF="node6.html">Installation</A>
<B> Previous:</B> <A NAME="tex2html286"
HREF="node9.html">Binary packages</A>
  <B> <A NAME="tex2html294"
HREF="node1.html">Contents</A></B>
<!--End of Navigation Panel--> |
468b9e48 |
<ADDRESS>
Tomasz Kojm |
a0faaedf |
2003-11-11 |
468b9e48 |
</ADDRESS>
</BODY>
</HTML> |