Hướng dẫn cài đặt Malware Detect trên centos 6.x
Mục lục:
Hướng dẫn cài đặt :
Bước 1: Cài repo
1234567 <strong>I386</strong>rpm -Uvh http://mirror.overthewire.com.au/pub/epel/6/i386/epel-release-6-8.noarch.rpm<strong>X64</strong>rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Bước 2: Download LMD
1 wget http://www.rfxn.com/downloads/maldetect-current.tar.gz
Bước 3: install LMD
12345 tar xfz maldetect-current.tar.gzcd maldetect-*./install.sh
Bước 4: Cấu hình các thông số sau
Note:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
vi /usr/local/maldetect/conf.maldet email_alert=1 email_addr="tecmint.com@gmail.com" quar_hits=1 quar_clean=1 quar_susp=0 quar_susp_minuid=500 |
Bước 5 : update
1 |
maldet -u |
Bước 5 : Hướng dẫn sử dụng cơ bản
# quét thư mục :
1 maldet --scan-all /home
ADDON:
- Cấu hình daily scan
Mặc định việc cấu hình LMD nằm ở thư mục : /etc/cron.daily/maldet và được chạy hàng ngày, update, quarantine .. và gửi kết quả hàng tuần vào mail nếu bạn đã cấu hình. Nếu bạn muốn cần add thêm gì thì vào đây để config.