HostOnNet Blog

Author Archives: Tom

How to Install and Configure maldet (Linux Malware Detect – LMD)

Linux Malware Detect (LMD) is a malware scanner for Linux released under the GNU GPLv2 license, that is designed around the threats faced in shared hosted environments. It uses threat data from network edge intrusion detection systems to extract malware


E-mail Alert on Root SSH Login

You can get notification email when some one login to your server as root when you are using bash shell. To enable root login notification, do the following 1. cd /root 2. edit .bashrc file with command vi .bashrc 3.


HOW TO: Installing RPM Packages

To install RPM Package use rpm -ivh packagename.rpm To uninstall RPM Package rpm -e packagename


HOWTO: Moving MySQL

This is how I do it: Old server: cd /var/lib/mysql tar -zcvf filename.tgz databasename New server: cd /var/lib/mysql scp serverx.serverdomain.com:/var/lib/mysql/filename.tgz ./ [ enter password ] tar -zxvf filename.tgz Done.


HOWTO: APF Firewall

APF(Advanced Policy Firewall) is a modular iptables-based firewall designed for ease of use and configurability. APF requires that you have Red Hat 7.2 or better Both quick-start and custom rules configurations are supported. APF has built in support for DShield.org’s


HOWTO: log into your server using SSH

Are you a newbie trying to figure out how to remotely log into your server box securely for the first time? Well look no further, for what follows is a complete walk-through on how to properly log into your server