Installation of Clamav , Clamd Step (1) (wget) download the latest clamav, clamd, clamav-db, clamav-devel first : http://dag.wieers.com/rpm/packages/clamav/ Step (2) [root@alanstudio]# rpm -Uvh clam* Install this four package by RPM : clamav,clamd,clamav-db,clamav-develStep (3) [root@alanstudio]# vi /etc/clamd.conf [root@alanstudio]# vi /etc/freshclam.conf Step (4)
[root@alanstudio]# chkconfig clamd on Step (5) Make the scan virus script and set the schedule (cron job) to scan virus at specific folder, such as: /home, /var/www/html. If found any inflect files move to /tmp/virusfile/. The script will help to generate the report and email to your email address.
[root@alanstudio]# vi /root/clamscan.sh
[root@alanstudio]# crontab -e Server is hosted by Alanstudio Linux Operating System Recommend screen resolution 1024 x 768 / IE / FireFox Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved. |