Skip to content

Latest commit

 

History

History
60 lines (37 loc) · 2.2 KB

generate-ova.rst

File metadata and controls

60 lines (37 loc) · 2.2 KB

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 branch.

$ git clone https://github.com/wazuh/wazuh-packages && cd wazuh-packages/ova && git checkout |WAZUH_PACKAGES_BRANCH|

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 |WAZUH_LATEST| -e |ELASTICSEARCH_LATEST| -r stable

This will generate a Virtual machine with Wazuh manager and ELK installed using stable packages

# ./generate_ova.sh -b -v |WAZUH_LATEST| -e |ELASTICSEARCH_LATEST| -r unstable -c

This will generate a Virtual machine with Wazuh manager and ELK installed using unstable packages and generate the sha512 checksum