Install agent with RPM packages
The RPM package is suitable for installation on Red Hat, CentOS and other RPM-based systems.
Adding the repository
Set up the repository by running the following commands according to your distribution:
CentOS 6/RHEL 6, CentOS 7/RHEL 7, Fedora 22 or greater and Amazon Linux
cat > /etc/yum.repos.d/wazuh.repo <<\EOF
[wazuh_repo]
gpgcheck=1
gpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH
enabled=1
name=Wazuh repository
baseurl=https://packages.wazuh.com/3.x/yum/
protect=1
EOFCentOS 5/RHEL 5
cat > /etc/yum.repos.d/wazuh.repo <<\EOF
[wazuh_repo]
gpgcheck=1
gpgkey=http://packages.wazuh.com/key/GPG-KEY-WAZUH-5
enabled=1
name=Wazuh repository
baseurl=http://packages.wazuh.com/3.x/yum/5/$basearch/
protect=1
EOFSUSE 12
SUSE 11
Installing agent
On your terminal, install the Wazuh agent as follows:
Using the
yumpackage manager:
Using the
zypperpackage manager:
2. (Optional) Disable the Wazuh repository:
It is recommended that the Wazuh repository be disabled in order to prevent accidental upgrades. To do this, use the following command:
Using the
yumpackage manager:
Using the
zypperpackage manager:
Last updated
Was this helpful?