You can install RKHunter on Linux Server by using following steps.
1 Login to your server as root
2. cd /usr/local/src
3 Download RKHunter and extract the archive
wget http://downloads.rootkit.nl/rkhunter-1.1.4.tar.gz
Some time above URL is working fine due to that you can also use following URL to download the tar file.
tar -xzvf rkhunter-1.1.4.tar.gz
4. Install RKHunter
cd rkhunter
./installer.sh
Or
./installer.sh –layout default –install
You can also set the cron to receive the RKHunter result.
vi /etc/cron.daily/rkhunter.sh
#!/bin/bash
(/usr/local/bin/rkhunter –update && /usr/local/bin/rkhunter -c –nocolors –skip-keypress –summary 2>&1 | mail -s “RKhunter Scan Details” username@yourdomain.com)
chmod a+x /etc/cron.daily/rkhunter.sh
