Version 21 (modified by Alloc, 7 years ago) (diff)


In order to be able to use these scripts a few external dependencies have to be met. Most of them should already be installed on any Linux distribution.

Order of the list is from what you probably have to install yourself to what probably is installed anyway:

as the name suggests it is used to start the game as a daemon. Will be compiled during installation of scripts later on.
used to manipulate serverconfig.xml
as 32 bit library, at least GLIBC 2.15
(Only 64 bit hosts) 32 bit libGCC, required for SteamCMD

Everything below should be installed already:

downloads SteamCMD
create incremental backups of game data
stops the server log monitoring
showing the open ports
the whole thing heavily relies on features of Bash
Init system
for automatic start of 7dtd on server boot (Script designed for SysVInit, it should also work with systemd)
cut, tr, tail, stdbuf
stream manipulation
grep, sed, dd, date, mkdir, touch, nc
tools really every Linux distro should ship anyway ;)


Most of the required stuff is included in a basic Fedora setup. You should only have to explicitly install XMLStarlet and 32 Bit linker files (if running a 64 Bit OS):

yum install xmlstarlet
yum install glibc.i686
yum install libgcc.i686
yum install libstdc++.i686


If you're not root, or under a superuser, make sure to preface the aptitude commands with "sudo".

apt-get install xmlstarlet
apt-get install lib32gcc1
apt-get install lib32stdc++6

CentOS 7

Looks like you have to enable the Extra Packages for Enterprise Linux (EPEL) repository to get XMLStarlet installed:

yum install epel-release


Not tested by me. If anyone did so and could provide information about what additional stuff is required compared to a clean OS install and how to install those things I would gladly add it here ;)