OSSEC is an Open Source Host-based Intrusion Detection System. It performs log analysis, file integrity checking, policy monitoring, rootkit detection, real-time alerting and active response.

These instructions will download the ossec archive, unzip it, install/update the app, and then remove the files...

More...

Here are some pointers to make sure that your new VPS will be secure enough to not have heart failure every other day.

1. Disable root Logins

2. SSH Secure - Encrypt Data and use Private Key to Login

3. Install OSSEC

4. Install APF (Advance Policy Firewall)

More...