This time, I’m gonna write a tutorial for installing Rookit Hunter.
- Download the source from the Sourceforge :
http://sourceforge.net/projects/rkhunter/files/latest/downloador you can download it directly from here :
http://cdnetworks-us-2.dl.sourceforge.net/project/rkhunter/rkhunter/1.3.8/rkhunter-1.3.8.tar.gz
1234# wget http://cdnetworks-us-2.dl.sourceforge.net/project/rkhunter/rkhunter/1.3.8/rkhunter-1.3.8.tar.gz# tar -xzvf rkhunter-1.3.8.tar.gz# cd rkhunter*# ./installer.sh --install - Setup rkhunter to run daily scan reports :
1# nano -w /etc/cron.daily/rkhunter.sh
Add the following line :
12#!/bin/bash(/usr/local/bin/rkhunter -c --cronjob 2>&1 | mail -s "RKHunter Scan Details" administrator@webhost.com) - Set the permission for the file :
1# chmod +x /etc/cron.daily/rkhunter.sh