Debian based systems
The agent installation process has been simplified as much as possible with the following examples to save time on deployment and troubleshooting.
⚠️ NOTE: the <path_to_package>
needs to be the full absolute path e.g. /home/example
Download URL:
https://packages.wazuh.com/4.x/apt/pool/main/w/wazuh-agent/wazuh-agent_4.3.10-1_amd64.deb
Installation from local source:
This method is used when the downloaded file is made available on local disk or on a mapped network share in a command prompt with elevated priviledges.
Agent configured to connect to Hydra:
sudo WAZUH_MANAGER='<hydra_ip>' WAZUH_AGENT_GROUP='default' dpkg -i <path_to_package>/wazuh-agent-4.3.10.deb && sudo systemctl daemon-reload && sudo systemctl enable wazuh-agent && sudo systemctl start wazuh-agent
Agent configured to connect to central platform:
sudo WAZUH_MANAGER='<central_fqdn>' WAZUH_AGENT_GROUP='default' dpkg -i <path_to_package>/wazuh-agent-4.3.10.deb && sudo systemctl daemon-reload && sudo systemctl enable wazuh-agent && sudo systemctl start wazuh-agent
Installation directly from Internet:
This method downloads the required file from the Internet and then automatically proceeds to installation.
Agent configured to connect to Hydra:
curl -so wazuh-agent-4.3.10.deb https://packages.wazuh.com/4.x/apt/pool/main/w/wazuh-agent/wazuh-agent_4.3.10-1_amd64.deb && sudo WAZUH_MANAGER='<hydra_ip>' WAZUH_AGENT_GROUP='default' dpkg -i ./wazuh-agent-4.3.10.deb && sudo systemctl daemon-reload && sudo systemctl enable wazuh-agent && sudo systemctl start wazuh-agent
Agent configured to connect to central platform:
curl -so wazuh-agent-4.3.10.deb https://packages.wazuh.com/4.x/apt/pool/main/w/wazuh-agent/wazuh-agent_4.3.10-1_amd64.deb && sudo WAZUH_MANAGER='<central_fqdn>' WAZUH_AGENT_GROUP='default' dpkg -i ./wazuh-agent-4.3.10.deb&& sudo systemctl daemon-reload && sudo systemctl enable wazuh-agent && sudo systemctl start wazuh-agent
t_4.3.10-1_amd64.deb && sudo WAZUH_MANAGER='<central_fqdn>' WAZUH_AGENT_GROUP='default' dpkg -i ./wazuh-agent-4.3.10.deb&& sudo systemctl daemon-reload && sudo systemctl enable wazuh-agent && sudo systemctl start wazuh-agent
⚠️ NOTE: There are ample examples with values encapsulating with double or single quotes, all possible care was taken to cover as many operating systems and their versions as possible. It is possible that specific versions and sub-versions may require the double quotes to be swopped out for single quotes and vice versa.