A simple tutorial on how to host a dedicated server on linux
Must be running debian-based server distro.
Basic linux/bash knowlegde.
If this guide does not create a working server, try a different linux install. Docker containers will not fix the issue.
Installing the software
For the server to function, it needs windows runtimes and APIs. This can be solved two ways, Windows or Wine.
To install wine, visit https://wiki.winehq.org/Download – [winehq.org] and scroll down to your linux distro, and Follow the steps on the linked page.
DON’T MIX DEBIAN WITH UBUNTU!!
There is a good chance you will need a library that isn’t installed with wine or your linux distro.
This library is libfaudio0, and can be installed with OBS. If you need to install it, see this docker script for example (Debian): https://github.com/VirtualBrightPlayz/ptero-xvfb-wine/blob/master/Dockerfile – [github.com]
After installing wine, the next application is Xvfb, or X Virtual FrameBuffer. This will create a fake display for wine, and will allow you to run the server without a display or GPU.
This can be installed via
$ sudo apt install xvfb
Next step is install the server from the zip file or steam cmd. The AppId is
Running the server
xvfb-run -a wine server.exe
You might need to restart the server after the first run. The console will also work just fine.
Hope this helps,
This is all about SCP: Containment Breach Multiplayer – How to Host a Dedicated Server on Linux; I hope you enjoy reading the Guide! If you feel like we should add more information or we forget/mistake, please let us know via commenting below, and thanks! See you soon!
- All SCP: Containment Breach Multiplayer Posts List