Learning Academy

The Cure of Ignorance is to Question. MUHAMMAD (PBUH)

CentOS

How to install CLAMAV with update DB script and Scanning on CentOS?


Installation/Configuration:

So the yum is now setup and you can proceed to install Clamav.

yum install clamav

Congratulations Clamav is installed on your machine.

Update Clamav database:

Clamav db can be update using freshclam.  

/usr/bin/freshclam

Cronjob for Clamav to scan /home directory:

You may know that clamav is not designed for real time scanning but is being highly used in production environment for batch scanning.  I am going to schedule the clamav scanning at midnight so that user may not experience low performance during the scanning. 

In Clamav clamscan is a command line anti-virus scanner, details of clamscan can be found in man pages of clamscan (man clamscan).

Muhammad Shaukat

Content Developer at LearnAcad.com

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Pin It on Pinterest