Virtual machine

We provide an automated way of generating a virtual machine (VM). The generate_ova.sh script orchestrates the creation of an OVA-formatted VM, ready to run the Wazuh central components.

Requirements

We recommend using a system with at least the following hardware specifications:

CPU (cores)

RAM (GB)

4

8

Creating the Wazuh VM

To create the virtual machine follow these steps:

  1. Download our wazuh-packages repository from GitHub and navigate to the ova/ directory. Select the version, for example, v4.7.3.

    $ git clone https://github.com/wazuh/wazuh-packages && cd wazuh-packages/ova && git checkout v4.7.3
    
  2. Execute the generate_ova.sh script.

    $ ./generate_ova.sh
    

The last command above builds a VM with Wazuh central components. It uses production packages by default. If you're building a pre-release version, you must select the development packages instead.

$ ./generate_ova.sh -r dev

The -r or --repository option selects the stage to use for the packages. For example:

  • prod: Packages released for production environments.

  • dev: Pre-release packages for testing and development purposes.

Check all available options by running the following command.

$ ./generate_ova.sh -h