W. Indexer Installer

Team: W.Index Setup Squad · Published to class

Category: Installments · Last updated 2025-12-02 09:11 · by erinmills2423

Use this guide as a starting point...

https://documentation.wazuh.com/current/installation-guide/wazuh-indexer/installation-assistant.html

Following the provided guide you will use the following commands:

curl -sO https://packages.wazuh.com/4.14/wazuh-install.sh

//Downloads the Wazuh installation script (wazuh-install.sh) from the specified URL.


curl -sO https://packages.wazuh.com/4.14/config.yml

//Downloads the Wazuh configuration file template (config.yml) from the same repository.


nano config.yml

//Opens the file config.yml in the Nano text editor so you can edit its settings (cluster name, node type, IPs, etc.).


sudo bash wazuh-install.sh --generate-config-files

//Runs the Wazuh installer script as root to generate all config files based on your edited config.yml.


sudo scp wazuh-install-files.tar administrator@10.3.120.4:/

//Securely copies (scp) the install bundle to the server at 10.3.120.4, placing it in the remote user’s home directory.


sudo scp wazuh-install-files.tar administrator@10.3.120.5:/tmp/

//Copies the same tar bundle to the server at 10.3.120.5, but this time specifically into the /tmp/ directory.


sudo bash wazuh-install.sh --wazuh-indexer Wazuh-Indexer1

//Runs the installer again, this time to install the Wazuh Indexer, telling the installer:

//--wazuh-indexer = install indexer role


//Wazuh-Indexer1 = name of this indexer node (matches config.yml)


sudo sed -i "s/^deb /#deb /" /etc/apt/sources.list.d/wazuh.list

sudo apt update

// theses command disables wazuh updates


This installs and configures the indexer using the files previously generated.