欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

linux 安装防病毒软件clamav

程序员文章站 2022-05-27 14:38:30
...

安装:https://www.clamav.net/documents/installing-clamav
使用文档:https://www.clamav.net/documents/scanning#clamscan

yum install -y epel-release
yum install -y clamav
 
#setting up ClamAV’s official signatures升级病毒库
freshclam
#扫描病毒文件:并移动或删除
mkdir /var/lib/clamav/effected-files ; chown clam.clam /var/lib/clamav/effected-files
clamscan  --exclude='/proc|/sys'  --infected --log=/var/log/clamav/clamscan.log --move=/var/lib/clamav/effected-files -r /
相关标签: linux系统 clamav