服务器安全-增加clamav杀毒

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){启动成功}

服务器安全-增加clamav杀毒_第1张图片

4.clamav扫描杀毒

递归扫描全盘,并只显示病毒文件
clamscan -ri /

你可能感兴趣的:(服务器,linux,运维)