Version 24 (modified by 6 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:
- start-stop-daemon
- as the name suggests it is used to start the game as a daemon. Will be compiled during installation of scripts later on.
- XMLStarlet
- used to manipulate serverconfig.xml
- libstdc++
- as 32 bit library, at least GLIBC 2.15
- lib32gcc1
- (Only 64 bit hosts) 32 bit libGCC, required for SteamCMD
Everything below should be installed already:
- wget
- downloads SteamCMD
- rsync
- create incremental backups of game data
- pkill
- stops the server log monitoring
- netstat
- showing the open ports
- Bash
- 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 ;)
Fedora
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
Ubuntu/Debian
If you're not root, or under a superuser, make sure to preface the aptitude commands with "sudo".
apt-get update apt-get install xmlstarlet apt-get install lib32gcc1 apt-get install lib32stdc++6 apt-get install make apt-get install gcc
Linux Mint
You'll need libc6-dev to compile the start-stop-daemon.
CentOS 7
Looks like you have to enable the Extra Packages for Enterprise Linux (EPEL) repository to get XMLStarlet installed:
yum install epel-release
Others
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 ;)