{"id":45,"date":"2015-10-31T00:55:37","date_gmt":"2015-10-31T00:55:37","guid":{"rendered":"http:\/\/www.theperfectarts.com\/?p=45"},"modified":"2018-04-11T11:28:28","modified_gmt":"2018-04-11T11:28:28","slug":"install-rkhunter","status":"publish","type":"post","link":"https:\/\/www.ktchost.com\/blog\/install-rkhunter\/","title":{"rendered":"Install RKHunter"},"content":{"rendered":"<h1>what is RKHunter and how to install it?<\/h1>\n<p><strong><span style=\"color: #800000;\">You can install RKHunter on Linux Server by using following steps.<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #800000;\">1 Login to your server as root<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #800000;\">2. cd \/usr\/local\/src<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #800000;\">3 Download RKHunter and extract the archive<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #800000;\">wget http:\/\/downloads.rootkit.nl\/rkhunter-1.1.4.tar.gz<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #800000;\">Some time above URL is not working fine due to that you can also use following URL to download the tar file.<\/span><\/strong><\/p>\n<p><a href=\"http:\/\/sourceforge.net\/projects\/rkhunter\/files\/rkhunter\/1.3.4\/rkhunter-1.3.4.tar.gz\/download?use_mirror=autoselect\"><strong>Download the Latest TAR FILE<\/strong><\/a><\/p>\n<p><strong>wget &#8211;no-check-certificate http:\/\/downloads.sourceforge.net\/project\/rkhunter\/rkhunter\/1.4.2\/rkhunter-1.4.2.tar.gz<\/strong><\/p>\n<p><strong><span style=\"color: #800000;\">tar -xzvf rkhunter-1.4.2.tar.gz<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #800000;\">4. Install RKHunter<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #800000;\">cd rkhunter-1.4.2<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #800000;\">.\/installer.sh<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #800000;\">Or<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #800000;\">.\/installer.sh &#8211;layout default &#8211;install\u00a0<\/span><\/strong><\/p>\n<p>Note : \u00a0&#8211; &#8211; layout and &#8211; &#8211; install need to be use<\/p>\n<p><strong><span style=\"color: #800000;\">You can also set the cron to receive the RKHunter result.<\/span><\/strong><\/p>\n<p><strong><span style=\"color: #800000;\">vi \/etc\/cron.daily\/rkhunter.sh<br \/>\n#!\/bin\/bash<br \/>\n(\/usr\/local\/bin\/rkhunter &#8211;update &amp;&amp; \/usr\/local\/bin\/rkhunter &#8211;check &#8211;nocolors &#8211;skip-keypress &#8211;summary 2&gt;&amp;1 | mail -s \u201cRKhunter Scan Details\u201d server@ktchost.com)<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #800000;\">chmod a+x \/etc\/cron.daily\/rkhunter.sh<\/span><\/strong><\/p>\n<p>As RKHunter now updated its version therefore it could be possible that above steps or URL won&#8217;t work therefore please refer to the following new steps to install RKHunter<\/p>\n<p><strong><strong>root@server [~]#<\/strong> cd \/usr\/local\/src<\/strong><\/p>\n<p><strong>root@server[~]#wget http:\/\/downloads.sourceforge.net\/project\/rkhunter\/rkhunter\/1.3.8\/rkhunter-1.3.8.tar.gz<\/strong><\/p>\n<p><strong>root@server [~]#tar -xvf rkhunter-1.3.8.tar.gz<\/strong><\/p>\n<p><strong>root@server [~]#cd rkhunter-1.3.8<\/strong><\/p>\n<p><strong>root@server [\/usr\/local\/src\/rkhunter-1.3.8]#.\/installer.sh &#8211;layout default &#8211;install<\/strong><\/p>\n<p>Now run the rkhunter<\/p>\n<p><strong>root@server [\/usr\/local\/src\/rkhunter-1.3.8]#\u00a0\/usr\/local\/bin\/rkhunter -c<\/strong><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>what is RKHunter and how to install it? You can install RKHunter on Linux Server by using following steps. 1 Login to your server as <a class=\"mh-excerpt-more\" href=\"https:\/\/www.ktchost.com\/blog\/install-rkhunter\/\" title=\"Install RKHunter\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":6366,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[42,34],"tags":[190,192,191,194,188,193,195,189],"class_list":["post-45","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-security","category-servers","tag-check-rkhunter","tag-check-rkhunterlogs","tag-how-to-install-rkhunter","tag-howto-rkhunter","tag-install-rkhunter","tag-secure-server-using-rkhunter","tag-tutorial-for-rkhunter","tag-what-is-rkhunter"],"_links":{"self":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/45"}],"collection":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/comments?post=45"}],"version-history":[{"count":33,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/45\/revisions"}],"predecessor-version":[{"id":6367,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/45\/revisions\/6367"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/media\/6366"}],"wp:attachment":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/media?parent=45"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/categories?post=45"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/tags?post=45"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}