Dear All

I am using Mandriva 2007-0 and clam was installed by default.  I have now
removed clam in favour of starting from scratch by installing and using
the latest version.  I believe that as an inexperienced user I will
learn a lot from this process.  Once I have understood how clamav works,
its command line options and configuration file I might extend myself to
installing Klam.  I tried to use both in an earlier version of Mandriva
but it never updated itself properly.  I currently use Kaspersky on
another Linux machine.  It has the addition of sitting in memory
scanning files that are being download, copied or moved.

I have downloaded clamav-091.2.tar.gz.

I have been reading the html guide and have established that I have all
the packages mentioned under Requirements.  They were present in the
Mandriva Control Centre list of installed packages.

I am a little confused about the sequence of events from this moment on.
I have listed below the 3 sections about which I write.

I logged in as root and typed:
# groupadd clamav
groupadd: group clamav exists

So now I propose to do the following as a user
a) move into the user directory stephanos and put the tar.gz
    file in there too
b) type: "zcat clamav-091.2.tar.gz. | tar xvf -"
c) move into the newly created directory
    cd clamav-091.2
d) The rest
    ./configure --sysconfdir-/etc
    make
    su -c "make install"

I cannot say I fully understand the issue of Installing on a shell
account.  Does this mean that clam can only scan the home folder (and
sub directories) of the user who installed it?

Will what I propose allow me to:
1) scan my user directory for virus?
2) allow me to change to root and scan the rest of the file system?
3) update clam either as root or as a user or only as root?

Thanks and wait to hear

Stephen

The Three Sections are:
1) Installing on shell account
$ ./configure --prefix=/home/gary/clamav --disable-clamav
$ make; make install
To test your installation execute:
$ ~/clamav/bin/freshclam
$ ~/clamav/bin/clamscan ~

2) Adding new system user and group
   if you are installing Clam AV for the first time, you have to add a
new user and group to your system.

How do I lock accessss to the account.  Is this a reference to file and
directory permission?

3) Compilation of base packages
Once you have ........
$ zcat clamav-091.2.tar.gz. | tar xvf -
$ cd clamav-091.2
Assuming you want to install the configuration files in /etc
$ ./configure --sysconfdir-/etc
$ make
$ su -c "make install"
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to