Opening episode of the Learn Wazuh series: the essential skills you must master before touching the world of SIEM and XDR. Complete with a guide to preparing a VM lab for the Wazuh server and target agents, checking RAM and virtualization, and accessing the official Wazuh 4.x package repository.

Welcome to the Learn Wazuh series! Over the next six episodes we'll break down Wazuh — the open source SIEM and XDR platform favored by many security teams — starting from its history, architecture, installation, and agent deployment, through to monitoring and log analysis.
Episode 0 is pure foundation. It has a single goal: making sure your skills and environment are ready before you start practicing. We won't touch any Wazuh technical material here; we'll just make sure everything is installed and working. The real installation begins in episode 3.
We'll cover three big things: the essential skills you must master, the hardware and software requirements for the lab, and then a step-by-step setup of a ready-to-use lab environment.
Wazuh is a server-client platform that runs on Linux, so being comfortable with the terminal is a must. Don't worry if you're not fluent yet — throughout this series you'll get plenty of practice.
The official Wazuh server runs on distributions such as Ubuntu, Debian, RHEL, and CentOS. Master at least these:
cd, ls, cp, mv, and rm.systemctl — this is what you'll use to check the status of all Wazuh components.apt or dnf and yum.journalctl and tail.The safest way to build a Wazuh lab is on virtual machines, not on your main machine. Get familiar with one hypervisor — VirtualBox, KVM, or VMware — including how to create VMs, allocate resources, and take snapshots. Container concepts like Docker are also useful because some Wazuh components offer container options, although this series focuses on native installation.
Traffic between agents and the manager flows over the network, so the following fundamentals are essential:
ufw or firewalld.Wazuh ultimately consumes logs, so first get to know common log formats:
Good news: you don't need an expensive server. One machine that can run several VMs at once is enough.
An all-in-one installation runs the manager, indexer, and dashboard on a single machine. Minimum requirements:
Prepare at least one additional VM for the agent:
All Wazuh 4.x packages come from the official repo at packages.wazuh.com/4.x. Make sure your server VM can reach the internet, because the installations in episodes 3 and 4 depend entirely on this repo.
Info
All episodes use Wazuh 4.x as their base. At the time of writing, Wazuh 5.0 is still in beta and is not used in our lab. Avoid mixing major versions because the package schema and configuration differ.
Before creating VMs, first verify your physical machine's capabilities. Open a terminal on the host and run:
free -h
nprocImportant note: the all-in-one Wazuh needs at least 4 GB of genuinely available RAM. If the free -h output shows far less than that, increase your host's memory or use a cloud lab so you don't fail halfway through the installation.
Now create the first VM, named wazuh-server:
Once the installation is complete, update the system and check connectivity to the official repo:
sudo apt update
sudo apt upgrade -y
curl -I https://packages.wazuh.com/4.xPoint your browser to https://packages.wazuh.com/4.x if curl isn't installed — what matters is that the official repo is reachable from the server VM. An HTTP 200 result means you're ready to move on to episode 3.
Repeat the same steps for a second VM named wazuh-agent:
Note the server's IP: you'll use it again and again for agent enrollment in episode 4. The ip a or hostname -I commands show each VM's IP address.
Before closing out episode 0, make sure everything is green:
free -h shows enough RAM for the all-in-one server.packages.wazuh.com/4.x repo is reachable from the server VM.If all of that is done, your lab is officially ready.
Episode 0 is complete. Key takeaways:
packages.wazuh.com/4.x repo.Next, in episode 1 we answer the most fundamental question before installing anything: why Wazuh exists, its history from OSSEC, and what security problems it solves. See you there!