Before you start installing Clamav Antivirus in your Linux box, please add the extra repository for yum. Install Dag repository, and how to install, go to my post Add Repository for yum.
yum - -enablerepo=dag install clamav -y
After installing there is few changed needed in configuration file.
vim /etc/freshclam.conf
#locate the line below and comment it
#NotifyClamd /etc/clamd.conf
Now update the clamd and its virus defination
#freshclam
To scan for Virus
#clamscan - -infected - -remove - -recursive
eg.
#clamscan - -infected - -remove - -recursive /home
yum - -enablerepo=dag install clamav -y
After installing there is few changed needed in configuration file.
vim /etc/freshclam.conf
#locate the line below and comment it
#NotifyClamd /etc/clamd.conf
Now update the clamd and its virus defination
#freshclam
To scan for Virus
#clamscan - -infected - -remove - -recursive
eg.
#clamscan - -infected - -remove - -recursive /home
Comments
Post a Comment