Installation and configuration of clamscan


Installation and configuration of clamscan

1.Install epel repo if not available already.

yum install epel-release


2. Install clamav.

yum install clamav

 

This will install clamav. You should update the virus definitions before doing your first scan. To do this, issue the following command.

freshclam

 

3. scan the server using clamscan command

 

clamscan -irl /folder/to/scan

 

Eg:

 clamscan -irl /var/www/vhosts/example.com

 

The above command will scan the root folder and scan report(only infected files) will saved in cscanreport file.


use clamscan –help to find more options.

Last update:
2015-10-13 04:27
Author:
Bytehouse Technical Support
Revision:
1.1
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.

Most popular FAQs RSS

  1. I require an additional IPv4 address. What is Bytehouse's ... (88178 views)
  2. The Most Common Problems When Migrating Websites (66959 views)
  3. How do I create a 301 redirect? (55332 views)
  4. Can I Backup Exchange 2010 with My Online Backup ... (53429 views)
  5. Steps to Add Administrator User for Windows Server (48950 views)

Latest FAQs RSS

  1. Steps to set/customize log rotation from plesk (2016-07-25 07:15)
  2. Generate a self-signed SSL certificate - Nginx,CentOS (2016-07-07 02:31)
  3. Procedure re-register Volume Shadow Copy Service(VSS) in a Windows ... (2016-07-05 04:18)
  4. Steps to Install Mcrypt in Plesk (2016-07-01 17:11)
  5. How to Retrieve a Plesk Password in Linux and ... (2016-07-01 17:09)

Regular new KB articles

Check back from time to time for new articles, or if you have any suggestions please feel free to recommend

top