

We will add “screen -dmS 7d2d” before the server launch We want to change the script a bit so that the server starts in the background when we run it. Let’s make a copy as not to lose that tooĬode: cp startserver.sh live-startserver.sh Just like the server config, the launch script is also overwritten when the server is updated. Here are the commands to open those ports with ufwĬode: sudo ufw allow 26900 & sudo ufw allow 26901/udp & sudo ufw allow 26902/udp A good resource for server options is the official 7 Days to Die Wikiħ Days to Die uses several ports that need to be opened on your firewall. To prevent losing our settings when an update is released, we will copy the config and use the copy as our live configĬode: cp serverconfig.xml live-serverconfig.xmlĪt this point, you should configure your live-serverconfig.xml to your liking. The serverconfig.xml file is overwritten when a new version is released. We need to download and install the 7 Days to Die Dedicated serverĬode: $HOME/steamcmd/steamcmd.sh +login anonymous +force_install_dir $HOME/7d2d +app_update 294420 +quit

Next, we will need to download and extract the steamcmd utilityĬode: wget -qO- | tar xvz -C $HOME/steamcmd Now, let’s create some directories that we will use during this installation:

It’s quite fun solo as well as multiplayer in a server environment. 7 Days to Die is a survival horde sandbox apocalypse style game.
