Difference between revisions of "Tutorials and How-tos/Install Clam AntiVirus"

From BubbaWiki
Jump to navigation Jump to search
(Created page with 'Installing Clam Antivirus<br>This was tested on Bubba v2.0.4 <br>Edit the sources file: nano /etc/apt/sources.list <br>Add the following repository in the sources file. d...')
 
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Installing Clam Antivirus<br>This was tested on Bubba v2.0.4  
Clam AntiVirus is an open source (GPL) anti-virus toolkit for UNIX, designed especially for e-mail scanning on mail gateways. It provides a number of utilities including a flexible and scalable multi-threaded daemon, a command line scanner and advanced tool for automatic database updates. The core of the package is an anti-virus engine available in a form of shared library. (Source: http://www.clamav.net/lang/en/). This was tested on Bubba v2.0.4<br><br>


<br>Edit the sources file:  
Edit the sources file:
<pre>nano /etc/apt/sources.list </pre>  
Add the following repository in the sources file:  
<pre>deb http://volatile.debian.org/debian-volatile etch/volatile main contrib non-free </pre>
Install ClamAV:
<pre>apt-get install clamav </pre>
Start ClamAV:
<pre>freshclam </pre>
Check if ClamAV is running:
<pre>ps aux | grep clam


nano /etc/apt/sources.list
clamav 13576 27.6 0.5 3676 1388&nbsp;? Ss 17:52 0:41 /usr/bin/freshclam -d --quiet </pre>
Stopping ClamAV:
<pre>killall freshclam </pre>
Verify that ClamAV is not running:
<pre>ps aux | grep clam </pre>
Starting ClamAV as a daemon which runs in the background and scans files:
<pre>/usr/bin/freshclam -d --quiet


<br>Add the following repository in the sources file.
</pre>
 
Next we will install clamsmtp which is a lightweight proxy for ClamAV. It is faster than just using ClamAV directly with postfix.<br>
deb http://volatile.debian.org/debian-volatile etch/volatile main contrib non-free
<pre>apt-get install clamsmtpd
 
</pre>
<br>Install ClamAV
<br>
 
apt-get install clamav
 
<br>Start ClamAV
 
freshclam
 
<br>Check if ClamAV is running
 
ps aux | grep clam
 
clamav 13576 27.6 0.5 3676 1388&nbsp;? Ss 17:52 0:41 /usr/bin/freshclam -d --quiet
 
<br>Stopping ClamAV
 
killall freshclam
 
<br>Verify that ClamAV is not running
 
ps aux | grep clam
 
Starting ClamAV as a daemon which runs in the background and scans files
 
/usr/bin/freshclam -d --quiet <br>

Latest revision as of 18:48, 29 September 2010

Clam AntiVirus is an open source (GPL) anti-virus toolkit for UNIX, designed especially for e-mail scanning on mail gateways. It provides a number of utilities including a flexible and scalable multi-threaded daemon, a command line scanner and advanced tool for automatic database updates. The core of the package is an anti-virus engine available in a form of shared library. (Source: http://www.clamav.net/lang/en/). This was tested on Bubba v2.0.4

Edit the sources file:

nano /etc/apt/sources.list 

Add the following repository in the sources file:

deb http://volatile.debian.org/debian-volatile etch/volatile main contrib non-free 

Install ClamAV:

apt-get install clamav 

Start ClamAV:

freshclam 

Check if ClamAV is running:

ps aux | grep clam

clamav 13576 27.6 0.5 3676 1388 ? Ss 17:52 0:41 /usr/bin/freshclam -d --quiet 

Stopping ClamAV:

killall freshclam 

Verify that ClamAV is not running:

ps aux | grep clam 

Starting ClamAV as a daemon which runs in the background and scans files:

/usr/bin/freshclam -d --quiet 

Next we will install clamsmtp which is a lightweight proxy for ClamAV. It is faster than just using ClamAV directly with postfix.

apt-get install clamsmtpd