Update README to include instructions for setting up a RELEASE DayZ Linux server!

Set the release id so it installs the release server.
Add the required shared objects for the above.
This commit is contained in:
Daniel Ceregatti 2023-06-16 10:44:39 -07:00
parent 64cf1de4d5
commit 1c09cd363a
4 changed files with 30 additions and 2 deletions

View file

@ -4,6 +4,34 @@ A Linux [DayZ](https://dayz.com) server in a [Docker](https://docs.docker.com/)
The main goal is to provide a turnkey DayZ server with mod support that can be spun up with as little as a machine running Linux with Docker and Docker Compose installed.
## TL;DR for setting up a release DayZ server with the "1.21 stable reelase":
```shell
git clone https://ceregatti.org/git/daniel/dayzdockerserver.git
cd dayzdockerserver
# Edit the config file and set the server name. It's the first line of the file.
nano files/serverDZ.cfg
# Build the docker images
docker compose up -d --build
# Go into the web container, login, and install the server files
docker compose exec main bash
# Use a real login if you want to install mods. Otherwise, use the anonymous user. You'll be limited to the vanilla Chernarus and Livonia maps.
dz login
dz install
# Download the "1.21 stable release" file.
cd /serverfiles
mv DayZServer DayZServer.release
wget https://cdn.discordapp.com/attachments/491622000935305217/1119206127750615101/DayZServer
chmod 755 DayZServer
# Copy the two shared object files are needed for the server to run. These come from the experimental server release, but are included here for convenience.
cp /files/tmp/* . DayZ Experimental server files.
# Switch to the server container and start the server
exit
docker compose exec server bash
# Start the server. This will run a vanilla Chernarus server. To run Livonia, simply change files/serverDZ.cfg to use the Livonia map in the section at the bottom of the file.
dz start
```
## Caveat Emptor
As of DayZ release 1.15, a [Linux DayZ server](https://steamdb.info/app/1042420/) was made available in Dayz Experimental. This has not been officially released, so this will only run a DayZ Experimental server at the moment. Only the [DayZ Experimental client](https://dayz.fandom.com/wiki/Experimental) will be able to connect to it. The goal is to have a working implementation once the Linux server is officially released, presumably [here](https://steamdb.info/app/223350/).

View file

@ -25,9 +25,9 @@ cyan="\e[36m"
# Presumably once the Linux server is released, the binaries will come from this ID.
# But more importantly, if we have a release-compatible binary, the base files must be installed from this id,
# even if the server binary and accompanying shared object don't come from it.
#release_server_appid=223350
release_server_appid=223350
# Without a release binary, we must use the experimental server app id for everything.
release_server_appid=1042420
#release_server_appid=1042420
# DayZ release client SteamID. This is for mods, as only the release client has them.
release_client_appid=221100

BIN
files/tmp/libsteam_api.so Executable file

Binary file not shown.

BIN
files/tmp/steamclient.so Executable file

Binary file not shown.