1.安装epel源
yum install epel-release
2.安装 clamav
yum install clamav clamav-server clamav-data clamav-update clamav-filesystem clamav-scanner-systemd clamav-devel clamav-lib clamav-server-systemd pcre* gcc zlib zlib-devel libssl-devel libssl openssl
3.启动clamav
systemctl start clamav-freshclam.service
systemctl status clamav-freshclam.service
在avtive:active(running){启动成功}
4.clamav扫描杀毒
递归扫描全盘,并只显示病毒文件
clamscan -ri /