The DEB package is suitable for Debian, Ubuntu, and other Debian-based systems.
Many of the commands described below need to be executed with root user privileges.
The first thing you need is to add the Wazuh repository to your server. Alternatively, if you prefer to download the wazuh-agent package directly, you can find it here.
In order to perform this procedure properly, packages
lsb-releasemust be present on your system. If they are not, install them:
# apt-get install curl apt-transport-https lsb-release
Install the Wazuh repository GPG key:
# curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | apt-key add -
Adding the repository:
# echo "deb https://packages.wazuh.com/3.x/apt/ stable main" | tee /etc/apt/sources.list.d/wazuh.list
Update the package information:
# apt-get update