installing ossec on debian

copied from

DEB Installation

To install with apt-get do the following:

Step 1. Install the apt-get repository key:

# apt-key adv --fetch-keys

Step 2. Add the repository for Debian (available distributions are Sid, Jessie and Wheezy):

# echo ‘deb wheezy main’ >> /etc/apt/sources.list

Or add the repository for Ubuntu (available distributions are Precise, Trusty and Utopic):

# echo ‘deb precise main’ >> /etc/apt/sources.list

Step 3. Update the repository:

# apt-get update

Step 4. Install OSSEC HIDS server/manager:

# apt-get install ossec-hids

Or install OSSEC HIDS agent:

# apt-get install ossec-hids-agent

Leave a comment

Your email address will not be published.