参考 https://www.howtoing.com/how-to-install-lmd-and-clamav-on-centos-7
安装Epel仓库和Mailx
yum -y install epel-release
yum -y install mailx
恶意软件检测(LMD)
cd /tmp
wget http://www.rfxn.com/downloads/maldetect-current.tar.gz
tar -xzvf maldetect-current.tar.gz
cd maldetect-1.6.4
./install.sh
ln -s /usr/local/maldetect/maldet /bin/maldet
hash -r
配置Linux恶意软件检测(LMD)
cd /usr/local/maldetect/
vim conf.maldet
安装ClamAV
yum -y install clamav clamav-devel
# 更病毒库
freshclam
测试LMD和ClamAV
maldet -a /var/www/html