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
No comments:
Post a Comment