Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Clamv virus scanning

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Yum installation method

1)Install epel source

yum -y install epel-release

2)Install clamd

yum -y install clamd

3)update the virus database

freshclam

4) Virus scanning

clamdscan

//Update virus library regularly (every 6 hours, haha)

# crontab -e

* */12 * * * /usr/bin/freshclam --quiet --daemon

test

# /usr/local/clamav/bin/clamscan

Some examples of common usage

1, Scan a directory, clamscan -r /home/oicqzone

2. Save the scan results to log, clamscan -r /home/oicqzone -l/tmp/clamav.log

3. During scanning, only the files with problems are displayed and an alarm sound is sounded, clamscan -r --bell -i /home/oicqzone

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report