Malware infections on Linux-based systems are rare, but when you are passing data from one machine to another it is possible that one of those machines may be sharing infected files. So here we take a quick look at how to install and configure ClamAV and manage on-demand virus scans to ensure that you can stop any threats before they spread. It is assumed that you have installed the Epel repo.
Log in as root and install ClamAV

# yum install clamd

To enable the ClamAV on boot, type the following

# chkconfig clamd on

To start the ClamAV service, type the following

# service clamd start

To update the virus database/definitions in your console, type

# freshclam

To run the first on-demand scan, type

# clamscan

ClamAV on Centos 6

 The program will scan your system for infected files and clear out any that it finds.
So, if you don’t trust claims that Linux is not troubled by viruses, and there could well be some foundation in this, then give ClamAv a test drive.

Author: Paul Anthony McGowan

Web Technology & Linux Enthusiast, Javascript Afficiado, General Observer Of World Corruption. Builder Of A Variety Of Web Properties And Campaigner Against Serious Government Criminality. Founder of Vorteasy

Leave a Reply

Your email address will not be published. Required fields are marked *