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 /
上一篇: Windows下Redis安装和配置