Installation
Install the agent on Linux
Install on Ubuntu/Debian or RHEL/CentOS. Set WAZUH_MANAGER so the agent auto-enrolls.
Debian / Ubuntu
curl -sO https://packages.wazuh.com/4.x/apt/pool/main/w/wazuh-agent/wazuh-agent_4.9.2-1_amd64.deb
sudo WAZUH_MANAGER="185.182.8.234" WAZUH_AGENT_NAME="$(hostname)" dpkg -i ./wazuh-agent_4.9.2-1_amd64.deb
sudo systemctl daemon-reload
sudo systemctl enable --now wazuh-agent
RHEL / CentOS
sudo WAZUH_MANAGER="185.182.8.234" WAZUH_AGENT_NAME="$(hostname)" \
yum install -y https://packages.wazuh.com/4.x/yum/wazuh-agent-4.9.2-1.x86_64.rpm
sudo systemctl enable --now wazuh-agent
Verify
sudo systemctl status wazuh-agent
sudo tail -f /var/ossec/logs/ossec.log
The host then appears under Agents / Endpoints in the dashboard.