cPanel安装Maldet杀毒

安装Maldet过程:


wget http://www.rfxn.com/downloads/maldetect-current.tar.gz
tar -xzvf maldetect-current.tar.gz
cd maldetect-*
sh install.sh

编辑配置文件:


pico /usr/local/maldetect/conf.maldet

可以设置成自动删除感染的文件跟发送邮件通知。

执行下面命令可以进行查毒


maldet --scan-all /home?/?/public_html
或者
maldet --scan-all ./
DA面板的:
maldet --scan-all /home?/?/domains


Maldet配合ClamAV一起使用,对服务器的安全效果不错

installation completed to /usr/local/maldetect
config file: /usr/local/maldetect/conf.maldet
exec file: /usr/local/maldetect/maldet
exec link: /usr/local/sbin/maldet
exec link: /usr/local/sbin/lmd
cron.daily: /etc/cron.daily/maldet

Leave a Reply