Install ClamAV in Centos6

Source: Internet
Author: User
1. go to renewal

1. go to http://pkgs.repoforge.org/clamav/and run the installation package now.

Wget http://pkgs.repoforge.org/clamav/clamav-db-0.98.4-1.el6.rf.x86_64.rpm

Wget http://pkgs.repoforge.org/clamav/clamav-0.98.4-1.el6.rf.x86_64.rpm

Wget http://pkgs.repoforge.org/clamav/clamd-0.98.4-1.el6.rf.x86_64.rpm

2. Installation

 

Rpm-ivh clamav-db-0.98-2.el6.rf.x86_64.rpmrpm-ivh clamav-0.98-2.el6.rf.x86_64.rpmrpm-ivh clamd-0.98-2.el6.rf.x86_64.rpm3, startup Service clamd start4, update virus database freshclam

5. scanning

Scan a directory, clamscan-r/home/oicqzone

Store the scan results to the log. clamscan-r/home/oicqzone-l/tmp/clamav. log

During the scan, only problematic files are displayed and alarm sound is triggered. clamscan-r -- bell-I/home/oicqzone

Scan the problematic file and delete it directly. please be careful when using clamscan-r -- remove/home/oicqzone. it is best not to perform this operation. be careful when deleting the system file, leading to system crash.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.