How to Set Up a DayZ Standalone Server on Linux
This guide covers the installation of a DayZ server on a Linux machine (Ubuntu/Debian) using SteamCMD. Into zombie-survival servers? Supercraft also hosts a managed Project Zomboid server hosting plan that stays persistent and online 24/7, automating installation, updates, and backups for you.
Prerequisites
- OS: Ubuntu 20.04/22.04 LTS or Debian 11/12.
- RAM: 8GB Minimum, 16GB Recommended.
- Storage: 25GB+ Disk Space.
- Dependencies:
lib32gcc1andsteamcmd.
1. Install Dependencies
2. Install SteamCMD
3. Download DayZ Server Files
Run the following command to download the server (App ID: 223350):
4. Configuration (serverDZ.cfg)
Navigate to ~/dayzserver and create/edit serverDZ.cfg.
Key Settings:
hostname = "My DayZ Server";password = "";(Leave empty for public)maxPlayers = 60;steamQueryPort = 27016;
5. BattlEye Configuration
Go to ~/dayzserver/battleye/ and copy beserver_x64.cfg. Set your RCon password inside this file to enable remote administration.
6. Launching the Server
Create a startup script start.sh:
Make it executable: chmod +x start.sh and run it: ./start.sh.
Network Ports
Open the following UDP ports:
- 2302 (Game Port)
- 27016 (Steam Query Port)
- 2303-2305 (Master Server & RCon)