BLOGROLLS

Adding virus protection to a Linux Server

By: Simon Quantrill On: Tue 23 December 2014
In: Security
Tags:

Adding Virus checking to Linux servers is a fairly easy task and is all fairly standard stuff.

here it goes apt-get update && apt-get install clamav clamav-daemon clamav-freshclam clamav-unofficial-sigs clamtk /etc/init.d/clamav-freshclam restart /usr/bin/freshclam

this will install the tools you need to allow virus scanning this install includes the graphic user interface version of the tool but its easier I find to run it from crontab

so

`

Add this to crontab

30 01 * * /usr/bin/freshclam --quiet; /usr/bin/clamscan --recursive --no-summary --infected / 2>/dev/null /29 * * /usr/bin/freshclam --quiet; /usr/bin/clamscan --recursive --no-summary --infected --remove /var/www/ 2>/dev/null ` -


If you found the article helpful, please share or cite the article, and spread the word:


For any feedback or corrections, please write in to: Simon Quantrill