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

From BubbaWiki
Jump to navigation Jump to search
Line 2: Line 2:


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


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

Revision as of 13:37, 29 September 2010

Installing Clam Antivirus
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 ClamA:

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