Linux-Tip News

We are proud to present Linux-Tip Europe. This page is designed to provide the Linux users community (not only in Europe) with news and articles that are of interest to them. It works by allowing members of the community to submit news and articles relating to Linux hardware and software. This same community can then decide what tips should be promoted based on what they consider to be the most important or interesting to the community by voting stories up and down. Stories that receive enough votes are promoted to the Linux-Tip Europe homepage. Bookmark and Share
 
Home arrow Workshops arrow Server arrow Keep your knowledge with OWL!
Keep your knowledge with OWL! Print E-mail
Sunday, 25 September 2005
Article Index
Keep your knowledge with OWL!
"Step 1: Suse 9.3 Installation"
"Step 2: Webmin installation and configuration" toc="1"
"Step 3: Apache2 configuration"
"InstallingOWL" toc="1"
"Step 5: MySQL configuration and OWL database installation" toc="1"
"Installing and configuring anti-virus software ClamAV" toc="1"
"Step 7: Get OWL ready to work" toc="1"
"Troubleshooting and additional help" toc="1"



Step 6: Installing and configuring anti-virus software ClamAV 

Clam AntiVirus is an anti-virus toolkit for UNIX. The main purpose of this software is integration with mail servers (attachment scanning). The package provides a flexible and scalable multi-threaded daemon, a command line scanner, and a tool for automatic updating via Internet.       

We will later use the software to automatically check documents for viruses.       

ClamAV needs the user clamav installed.
 
Additionally you will need the zlib and zlib-devel package installed. If you didn’t do this during the installation process, please complete it now using the rpm command or YAST.

Please download the anti virus software here:     

 http://www.clamav.net/      

Create user and group clamav as root:      

groupadd clamav
useradd -g clamav -s /bin/false -c "Clam AntiVirus" clamav 

The current stable version is 0.87. Compile the downloaded software:

tar -zxvf clamav-0.87.tar.gz
cd clamav-0.87
./configure --sysconfdir=/etc
make
su
make install


I didn't bother changing anything in /etc/clamav.conf. I ran freshclam to update the virus database and created a root cron entry with crontab -e     

0 * * * *      /usr/local/bin/freshclam --quiet -l  /var/log/clam-update.log  

That’s it. To test our installation, please try to scan your home directory were you copied clamav after the download:     

/usr/local/bin/clamscan -r -l scan.txt /home/user/clamav-0.87

This is the result I got: 

----------- SCAN SUMMARY -----------      
Known viruses: 40192      
Engine version: 0.87      
Scanned directories: 44      
Scanned files: 740      
Infected files: 5      
Data scanned: 11.48 MB      
Time: 33.754 sec (0 m 33 s)  
     

It has found some test viruses in the clamav-0.87/test directory. The scan result is saved in the scan.txt log file.

You also need to add the following line into /etc/clamav.conf       
TemporaryDirectory /var/tmp



 
< Prev   Next >

Bookmark this article

Virus Info Feed

Alexa Traffic Stats

Sedo - Domains kaufen und verkaufen das Projekt linux-tip.eu steht zum Verkauf Besucherstatistiken von linux-tip.eu etracker® Web-Controlling statt Logfile-Analyse