How to do it...

In this section, we will learn how OSSEC can be installed and configured to monitor a local Ubuntu server. We will also test OSSEC against any file modifications:

  1. Our first step will be to download the latest version of OSSEC from its GitHub repository using the following command:

  1. Depending on where the download has been saved after completion, extract the downloaded file with the following command:

  1. Move inside the extracted directory and list its contents. We will see an install.sh script, which will be used to install ...

Get Practical Linux Security Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.