Download OSSEC

Download OSSEC for Your Platform

Find the OSSEC package for your system and install. Or check out OSSEC+ and get more simply by registering.

Yum/DNF Automated Installation on Fedora

Automated installer:

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

                    # Server
                    sudo yum install ossec-hids-server

                    # Agent
                    sudo yum install ossec-hids-agent

Manual Yum/DNF installation on Fedora

  1. Download the atomic-release file for your distribution
  2. Install the atomic-release package (Note: This includes the OSSEC GPG key)
sudo rpm -Uvh atomic-release*rpm
  1. Install ossec package
# Server
                    sudo yum install ossec-hids server

                    # Agent
                    sudo yum install ossec-hids-agent

Yum/DNF Automated Installation on Centos, RedHat, Amazon Linux

Automated installer:

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

                    # Server
                    sudo yum install ossec-hids-server

                    # Agent
                    sudo yum install ossec-hids-agent

Manual Yum/DNF installation on Centos, RedHat, Amazon Linux

  1. Download the atomic-release file for your distribution
  2. Install the atomic-release package (Note: This includes the OSSEC GPG key)
sudo rpm -Uvh atomic-release*rpm
  1. Install ossec package
# Server
                    sudo yum install ossec-hids server

                    # Agent
                    sudo yum install ossec-hids-agent

Yum/DNF Automated Installation on Centos, RedHat, Amazon Linux

Automated installer:

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

                    # Server
                    sudo yum install ossec-hids-server

                    # Agent
                    sudo yum install ossec-hids-agent

Manual Yum/DNF installation on Centos, RedHat, Amazon Linux

  1. Download the atomic-release file for your distribution
  2. Install the atomic-release package (Note: This includes the OSSEC GPG key)
sudo rpm -Uvh atomic-release*rpm
  1. Install ossec package
# Server
                    sudo yum install ossec-hids server

                    # Agent
                    sudo yum install ossec-hids-agent

APT Automated Installation on Ubuntu

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

                        # Update apt data
                        sudo apt-get update

                        # Server
                        sudo apt-get install ossec-hids-server

                        # Agent
                        sudo apt-get install ossec-hids-agent

Manual APT Installation on Ubuntu

  1. Add the GPG key
wget -q -O - https://www.atomicorp.com/RPM-GPG-KEY.atomicorp.txt  | sudo apt-key add -
  1. Add the repo configuration to sources.list
source /etc/lsb-release

                    # Ubuntu
                    echo "deb https://updates.atomicorp.com/channels/atomic/ubuntu $DISTRIB_CODENAME main" >>  /etc/apt/sources.list.d/atomic.list

                    # Debian
                    echo "deb https://updates.atomicorp.com/channels/atomic/debian $DISTRIB_CODENAME main" >>  /etc/apt/sources.list.d/atomic.list
  1. Install Agent or Server
# Update apt data
                    sudo apt-get update

                    # Server
                    sudo apt-get install ossec-hids-server

                    # Agent
                    sudo apt-get install ossec-hids-agent

APT Automated Installation on Debian

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

                        # Update apt data
                        sudo apt-get update

                        # Server
                        sudo apt-get install ossec-hids-server

                        # Agent
                        sudo apt-get install ossec-hids-agent

Manual APT Installation on Debian

  1. Add the GPG key
wget -q -O - https://www.atomicorp.com/RPM-GPG-KEY.atomicorp.txt  | sudo apt-key add -
  1. Add the repo configuration to sources.list
source /etc/lsb-release

                    # Ubuntu
                    echo "deb https://updates.atomicorp.com/channels/atomic/ubuntu $DISTRIB_CODENAME main" >>  /etc/apt/sources.list.d/atomic.list

                    # Debian
                    echo "deb https://updates.atomicorp.com/channels/atomic/debian $DISTRIB_CODENAME main" >>  /etc/apt/sources.list.d/atomic.list
  1. Install Agent or Server
# Update apt data
                    sudo apt-get update

                    # Server
                    sudo apt-get install ossec-hids-server

                    # Agent
                    sudo apt-get install ossec-hids-agent
Latest Stable Release (3.7.0) Signature
Agent Windows ossec-agent-win32-3.7.0.exe GPG Windows

For additional installation and configuration help, see our documentation.