Virtual machine
Wazuh provides an automated way of generating a Virtual machine in OVA format that is ready to run a Wazuh manager and ELK.
To create the virtual machine follow these steps:
Requirements
Download our wazuh-packages repository from GitHub and go to the ova directory of the legacy branch.
$ git clone https://github.com/wazuh/wazuh-packages && cd wazuh-packages/ova && git checkout legacy
Execute the generate_ova.sh
script, with the different options you desire.
$ ./generate_wazuh_packages.sh -h
OPTIONS:
-b, --build [Required] Build the OVA and OVF.
-v, --version [Required] Version of wazuh to install on VM.
-e, --elastic-version [Required] Elastic version to download inside VM.
-r, --repository [Required] Status of the packages [stable/unstable]
-c, --clean [Optional] Clean the local machine.
-h, --help [ Util ] Show this help.
The options for the repository indicates whether the packages used to install Wazuh are the production ones or not.
Stable: The OVA uses released packages.
Unstable: The OVA uses not released packages.
Below, you will find some examples of how to build a Wazuh virtual machine.
# ./generate_ova.sh -b -v 3.11.4 -e 7.6.1 -r stable
This will generate a Virtual machine with Wazuh manager 3.11.4 and ELK 7.6.1 installed using stable packages
# ./generate_ova.sh -b -v 3.11.4 -e 7.6.1 -r unstable -c
This will generate a Virtual machine with Wazuh manager 3.11.4 and ELK 7.6.1 installed using unstable packages and generate the sha512 checksum