Tripwire is a data integrity tool for monitoring and alerting file and directory changes.

To install, run

Generate keys


This ask you to enter password.

Creating Database

You need to edit file

customise it for your system or you may get file/directory not found errors.

Checking for changes


ModSecurity is a Web Application Firewall. Protect sites from SQL injection and Application level hacking.

To install ModSecurity on Ubuntu/Debian with Apache, run

verify Apache module is installed with

Enable config file

Update config

Restart Apache