Download and execute the official Wazuh installation assistant. This installs the Manager, Indexer, and Dashboard.
curl -so wazuh-install.sh https://packages.wazuh.com/4.14/wazuh-install.shsudo bash wazuh-install.sh -a
Note: -a (all-in-one) installs the indexer, server and dashboard together. Pin the version in the URL as above for a reproducible install — the 4.x path always serves whatever is newest. Add -i only if you need to skip the assistant's health check and hardware validation, since it will otherwise stop you from deploying onto an undersized host.
sudo tar -O -xf wazuh-install-files.tar wazuh-install-files/wazuh-passwords.txt
Navigate to https://<MANAGER_IP> in your browser (the dashboard listens on 443).
Log in using admin and the generated password.
Tip
Once every component is installed, Wazuh recommends disabling its package repository so a routine dnf update never upgrades the stack underneath your agents:
sudo sed -i "s/^enabled=1/enabled=0/" /etc/yum.repos.d/wazuh.repo
Note: Enterprise Linux 9 and later use priority=1 in the repo file — protect=1 is the EL8-and-earlier form. The 4.x base URL is intentional here: it tracks the latest 4.x agent so a fresh endpoint enrols against a current manager.
The WAZUH_MANAGER deployment variable above already writes the manager address into the configuration. Verify it, and edit /var/ossec/etc/ossec.conf only if you are pointing the agent at a different manager or protocol:
sudo nano /var/ossec/etc/ossec.conf
The relevant <client> section should look like this: