copied from http://ossec.github.io/downloads.html#deb-installation
DEB Installation
To install with apt-get do the following:
Step 1. Install the apt-get repository key:
# apt-key adv --fetch-keys http://ossec.wazuh.com/repos/apt/conf/ossec-key.gpg.key
Step 2. Add the repository for Debian (available distributions are Sid, Jessie and Wheezy):
# echo ‘deb http://ossec.wazuh.com/repos/apt/debian wheezy main’ >> /etc/apt/sources.list
Or add the repository for Ubuntu (available distributions are Precise, Trusty and Utopic):
# echo ‘deb http://ossec.wazuh.com/repos/apt/ubuntu 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 Reply