Wazuh server
Wazuh provides an automated way of building DEB and RPM Wazuh server packages using Docker. Follow the steps below to create a Debian or RPM Wazuh server package:
Requirements
Ensure that these dependencies are installed on the system:
Creating the Wazuh server package
Follow the steps below to create the Wazuh server package:
Clone the wazuh repository from GitHub and navigate to the
packages/
directory. Select a version, for example,v4.12.0
.$ git clone https://github.com/wazuh/wazuh && cd wazuh/packages && git checkout v4.12.0
Run the below command to build a DEB or an RPM Wazuh server package:
Note
Use the following architecture equivalences:
amd64 -> x86_64
arm64 -> aarch64
armhf -> armv7hl
# ./generate_package.sh -s /tmp -t manager -a amd64 -r my_rev --system deb
This command generates a Wazuh manager
v4.12.0
DEB package with revisionmy_rev
for x86_64 systems.# ./generate_package.sh -s /tmp -t manager -a amd64 -r my_rev --system rpm
This command generates a Wazuh manager
v4.12.0
RPM package with revisionmy_rev
for x86_64 systems.
You can run the generate_package.sh
script with the -h
flag to explore your desired options:
$ ./generate_package.sh -h