Wazuh manager installation

This document will go through the installation of the Wazuh manager.

Note

You need root user privileges to run all the commands described below.

Prerequisites

Before installing the Wazuh manager, some extra packages must be installed:

Install all the required utilities:

# yum install curl

Installation

The Wazuh server collects and analyzes data from deployed Wazuh agents. It runs the Wazuh manager and the Splunk forwarder. The first step in setting up Wazuh is adding the Wazuh repository to the server. All the Wazuh packages can be found here.

  1. Add the Wazuh repository

    1. Import the GPG key:

      # rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH
      
    2. Add the repository:

      # cat > /etc/yum.repos.d/wazuh.repo << EOF
      [wazuh]
      gpgcheck=1
      gpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH
      enabled=1
      name=EL-\$releasever - Wazuh
      baseurl=https://packages.wazuh.com/4.x/yum/
      protect=1
      EOF
      
  2. Install the Wazuh manager package:

    # yum -y install wazuh-manager-4.4.5-1
    

Choose the corresponding tab to configure the installation as a single-node or multi-node cluster:

  1. Enable and start the Wazuh manager service:

    # systemctl daemon-reload
    # systemctl enable wazuh-manager
    # systemctl start wazuh-manager
    
  2. Run the following command to check if the Wazuh manager is active:

    # systemctl status wazuh-manager