Friday, September 4, 2009

Install ClamAV

[root@lan ~]#yum -y install clamav // (or download clamav and clam-db for install manual)
[root@lan ~]#vim /etc/freshclam.conf

#NotifyClamd /etc/clamd.conf

[root@lan ~]#freshclam // update policy file

[root@lan ~]#clamscan --infected --remove --recursive /home
[root@lan ~]#wget http://www.eicar.org/download/eicar.com
[root@lan ~]#clamscan --infected --remove --recursive .

You will detect and delete virus




No comments:

Post a Comment