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...')
 
Line 2: Line 2:


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


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  
 
<br>Stopping ClamAV  
<br>Stopping ClamAV  
 
<pre>killall freshclam </pre>
killall freshclam  
 
<br>Verify that ClamAV is not running  
<br>Verify that ClamAV is not running  
<pre>ps aux | grep clam </pre>


ps aux | grep clam


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  
/usr/bin/freshclam -d --quiet <br>
</pre>

Revision as of 13:34, 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 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