Docs / Game Servers / How to Set Up a DayZ Dedicated Server

How to Set Up a DayZ Dedicated Server

By Admin · Mar 1, 2026 · Updated Apr 23, 2026 · 23 views · 1 min read

Overview

DayZ is an open-world survival game set in a post-apocalyptic world. Dedicated servers allow customized gameplay with mods, custom loot tables, and community rules.

Requirements

  • A Breeze with at least 6 GB RAM
  • 4 CPU cores
  • 25 GB disk space

Step 1: Install the Server

sudo useradd -r -m -d /opt/dayz dayzserver
sudo -u dayzserver steamcmd +force_install_dir /opt/dayz/server \
  +login anonymous \
  +app_update 223350 validate \
  +quit

Step 2: Create a Start Script

sudo -u dayzserver tee /opt/dayz/start.sh <<'EOF'
#!/bin/bash
cd /opt/dayz/server
./DayZServer -config=serverDZ.cfg \
  -port=2302 \
  -profiles=/opt/dayz/profiles \
  -BEpath=/opt/dayz/battleye \
  -dologs -adminlog -netlog \
  -freezecheck
EOF
chmod +x /opt/dayz/start.sh

Step 3: Configure the Server

sudo -u dayzserver tee /opt/dayz/server/serverDZ.cfg <<EOF
hostname = "My DayZ Server";
password = "";
passwordAdmin = "adminpass";
maxPlayers = 40;
verifySignatures = 2;
forceSameBuild = 1;
disableVoN = 0;
vonCodecQuality = 20;
disable3rdPerson = 0;
disableCrosshair = 0;
serverTime = "2024/4/15/08/00";
serverTimeAcceleration = 4;
serverNightTimeAcceleration = 8;
serverTimePersistent = 0;
guaranteedUpdates = 1;
loginQueueConcurrentPlayers = 5;
loginQueueMaxPlayers = 500;
instanceId = 1;
storageAutoFix = 1;
EOF

Firewall

sudo ufw allow 2302:2305/udp
sudo ufw allow 27016/udp

Was this article helpful?