Package Installation

The OSSEC project has made RPM and deb packages available. Links to the packages can be found on the OSSEC download page

RPM Installation

OSSEC’s RPMs are made available by AtomiCorp.

The RPMs can be installed by adding the AtomiCorp yum repository:

# wget -q -O - https://updates.atomicorp.com/installers/atomic | sh

Next use yum to install the specific packages. For an OSSEC server run:

# yum install ossec-hids ossec-hids-server

And for an agent run:

# yum install ossec-hids ossec-hids-agent

Deb Installation

Atomicorp provides .deb installation packages as well.

Install the apt-get repository key:

# wget -q -O - https://www.atomicorp.com/RPM-GPG-KEY.atomicorp.txt  | sudo apt-key add -

Add the repository for Debian and Ubuntu:

# wget -q -O - https://updates.atomicorp.com/installers/atomic | sudo bash

Update the repository:

Install OSSEC HIDS server/manager:

# apt-get install ossec-hids-server

Or install OSSEC HIDS agent:

# apt-get install ossec-hids-agent

FreeBSD Ports

TBD