Currently experimental repository of configs and scripts intended to automatically install and manage multiple DCS and SRS server instances on a single headless Linux server.
- Fully automatic installation and upgrades of DCS and SRS
- Plug & Play: DCS and SRS are usable immediately after installation
- Pre-configured with reasonable defaults
- Auto-starts a default mission (Caucasus with dynamic spawns)
- Ships with useful helper scripts
- Minimal overhead: ~200M RAM on Debian 12.9 (kernel + user-space)
- Built for headless (non-GUI) Linux servers: Does not require a desktop environment (e.g., Gnome, KDE, XFCE, ...)
- DCS window accessible via VNC
- Runs Caucasus, Marianas, and Syria on servers with 16G RAM (other terrains unverified)
- Convenient management of all server processes through systemd user services
(
systemctl --user start|stop|status dcs-server|srs-server
) and automatic restart of failed services (including detection and forced restart of frozen servers with an unresponsive WebGUI). - Supports multiple DCS server instances (
DCS_server.exe -w DCS.*
) through systemd unit instances
You must be familiar with Linux command line usage and server administration. Do not attempt the installation if you lack the required fundamentals!
- CPU: Depends.
DCS_server.exe
is multi-threaded but heavily bottlenecked by its primary thread. Almost any CPU will do for basic missions, but its single-thread performance is of utmost importance to maximize the performance ceiling. The includedFPSmon.lua
script will warn about performance issues. - RAM: 16G or more. 16G should suffice for a single server instance without mods on Caucasus. The sky is the limit once multiple instances, mods, and larger terrains are involved. Do not use a disk-backed swap partition, use zram instead.
- Disk: NVMe SSD with >40 GB usable space for a Caucasus-only install. Additional terrains will need more space. If you're disk space constrained, transparent file compression may be an option.
- Network: 1 Gbps link in a datacenter. At least 100 Mbps at home.
The CDN used by
DCS_updater.exe
currently throttles downloads at ~25 MB/s.
Dedicated server module names and respective installed and download sizes as of
DCS 2.9.15.9599. Note that to install a module, you will temporarily need free
disk space for the sum of both sizes as DCS_updater.exe
will first download
all files and then unpack the module.
Module ID | Installed (GB) | Download (GB) |
---|---|---|
AFGHANISTAN_terrain |
58.417 |
20.158 |
CAUCASUS_terrain |
11.073 |
3.987 |
FALKLANDS_terrain |
36.498 |
10.455 |
GERMANYCW_terrain |
74.077 |
24.814 |
IRAQ_terrain |
68.854 |
22.786 |
KOLA_terrain |
66.186 |
18.947 |
MARIANAISLANDSWWII_terrain |
6.449 |
2.159 |
MARIANAISLANDS_terrain |
9.819 |
2.792 |
NEVADA_terrain |
7.090 |
2.327 |
NORMANDY_terrain |
33.542 |
11.319 |
PERSIANGULF_terrain |
22.718 |
7.904 |
SINAIMAP_terrain |
36.210 |
11.280 |
SUPERCARRIER |
0.233 |
0.149 |
SYRIA_terrain |
37.320 |
12.492 |
THECHANNEL_terrain |
17.980 |
6.617 |
WORLD |
16.372 |
8.801 |
WWII-ARMOUR |
1.109 |
0.460 |
Σ | 503.947 |
167.446 |
This has been developed and tested on a Debian 12 "Bookworm" server install and will be upgraded to Debian 13 "Trixie" when it releases in ~Q3/25. Most Linux distributions that use systemd should work as well, but changes to accomodate the respective package manager, package names, etc. may be required. You should enable automatic updates to keep your server secure.
For brevity, the following instructions rely on these conventions:
root@server
is either the root user of the target Linux server or a user account with sudo proviliges. Substituteroot
andserver
as required.dcs@server
is a non-privileged user account on the target Linux server that will be used to run the DCS and SRS servers. Substitutedcs
andserver
.
First, install the following software on your local computer (the applications are suggestions; any program implementing the respective protocol should work):
- Terminal: Do not use the legacy command prompt. Install the official Windows Terminal App.
- SSH client: Recent versions of Windows 10/11 include a built-in SSH client. Use it. Do not install PuTTY or other 3rd-party SSH clients.
- VNC client: UltraVNC
- SFTP client: Required to transfer files (e.g., missions). Windows includes scp as a command line client. Alternatively, install a GUI client like FileZilla (do not download the version with "bundled offers", verify the filename does not include "sponsored"!).
Run via ssh root@server
:
# Activate i386 architecture (required by Wine) and install dependencies
# TODO: adjust this if your server does not run Debian
sudo dpkg --add-architecture i386 && sudo apt update
sudo apt install --no-install-recommends \
curl fonts-liberation git wine wine32 wine64 python3-minimal \
sway unzip wayvnc xwayland
# Create a separate user account for the DCS server and enable persistent
# systemd user services for it (exemplary user name, change at will)
sudo useradd -m -s /bin/bash -G render,video dcs
sudo loginctl enable-linger dcs
Run via ssh dcs@server
:
# use Git to download all scripts and config files into the home directory
cd ~
git init -b main ~
git remote add origin https://github.com/ActiumDev/dcs-server-wine.git
git pull origin main
# start basic services: minimal GUI, VNC server, Wine server
# TODO: replace 5900 with your desired, locally bound VNC port
systemctl --user daemon-reload
systemctl --user enable --now sway wayvnc@5900 wine-session@.wine
The DCS user account should now be running the minimal GUI, which is accessible
via a VNC server bound to localhost (not accessible remotely). Close the open
SSH session and reconnect via ssh -L 5900:127.0.0.1:5900 dcs@server
to set
up static port forwarding from your local machine that you run ssh
on to the
dcs@server
. This enables securely authenticated and encrypted VNC access.
You can now open 127.0.0.1:5900
via your local VNC client and should see an
empty desktop.
Everything is ready for the actual installation. First, decide which terrains
to install from above module table or this list.
Then, adjust the export DCS_TERRAINS=
in below code snippet to contain a
space-separated list of Install/Uninstall id from the list, e.g.,
export DCS_TERRAINS="CAUCASUS_terrain MARIANAISLANDS_terrain"
. The updater
will show an error message popup if the available disk space is insufficient.
Now run via the already open SSH session (dcs@server
):
# install DCS
# TODO: set DCS_TERRAINS to space separated list of terrains to install
export DCS_TERRAINS="CAUCASUS_terrain"
~/.wine/drive_c/install_dcs.sh
# optional: install SRS
~/.wine/drive_c/install_srs.sh
Via VNC: Watch the DCS Updater progress through the installation and confirm the final success message. The DCS server will start automatically. When shown the "DCS Login" window, enter your credentials (best practice: use separate server account with purchases restricted) and check both "Save password" and "Auto login" options to enable the DCS server to start non-interactively in the future.
The VNC session should now show the DCS splash screen. The SRS server should run as a windowless background service. The DCS server should now be running on port 10308 (default) and SRS on port 5002 (default). The server is unlisted (not public) by default.
You can connect to the server by IP address and port. The default mission will start automatically once the first player connects.
Just like the VNC port, forward the DCS WebGUI port (see autoexec.cfg
) via
SSH: ssh -L 5900:127.0.0.1:5900 -L 8088:127.0.0.1:8088 dcs@server
.
Then, use a local browser to open WebGUI/index.html
from your local DCS
client(!) installation directory. The WebGUI should detect the server
automatically.
Modify ~/.wine/drive_c/DCS_configs/DCS.server1/Config/autoexec.cfg
to suit
your requirements. Additionally, use the WebGUI to conveniently configure the
server settings. Then restart the server for all changes to take effect:
systemctl --user restart dcs-server@server1
- VNC screen is sluggish: The used VNC server (wayvnc v0.5) has limited compression support. Should improve once a newer wayvnc version becomes available with Debian 13 "Trixie" release (~Q3/25).
- Some DCS windows contain HTML code: Could possibly be fixed by installing Wine Gecko.