35.1 C
Senior Writer and partner

Deploy your 7 days to die server on Debian 10

Hello, friends. Although on the desktop Linux still lacks to conquer the gamers, in terms of servers the thing is more equal. Many servers of these games run on Linux even if you don’t know it. In this post, you will learn how to deploy your 7 Days to Die server on Debian 10 so you will be the owner of an instance of this phenomenal game.

7 Days to Die is a very popular game that can be purchased from Steam. It is a survival and horror game in the first and third person. This video game combines combat, character improvement by levels, crafting materials, construction, looting, mining, exploration, trading, farming, and character customization.

One of the advantages is that we can create a server that we can manage at our pleasure. With a server, you can play with other people in the same world. Any user can host a server on their own computer or rent hosting from another company. But today, you will learn how to deploy your own.

So, let’s get started.

Deploy your 7 Days to Die server on Debian 10

- Advertisement -

The first thing I have to tell you is that you need to have a Quad-Core server with 8 or 16Gb RAM. That is to say, it has to be a powerful computer. Of course, more is better.

Connect via SSH to your server and update the whole distribution.

sudo apt update
sudo apt upgrade

Then, as we are going to use Steam components, it is necessary to enable the 32-bit architecture.

sudo dpkg --add-architecture i386

Then refresh apt again.

sudo apt update

After that, install all the necessary packages to install the game instance.

sudo apt install curl wget file tar bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux netcat lib32gcc lib32stdc++6 steamcmd telnet expect

Now create a new system user dedicated to the instance.

sudo adduser sdtduser

You can replace sdtduser with any name you want. The important thing here is that we are creating a user for the server.

After that, add the newly created user to the sudo group so he can use this command. In case it does not exist, then you will have to use the root user.

sudo adduser sdtduser sudo

Now log in as the sdtduser user we just created.

su - sdtduser

And with the help of the wget command download the script with which we will do the installation

sudo wget -O linuxgsm.sh https://linuxgsm.sh
--2021-07-12 18:30:36--  https://linuxgsm.sh/
Resolving linuxgsm.sh (linuxgsm.sh)... 2606:4700:3031::6815:69e, 2606:4700:3032::ac43:8701,, ...
Connecting to linuxgsm.sh (linuxgsm.sh)|2606:4700:3031::6815:69e|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/linuxgsm.sh [following]
--2021-07-12 18:30:36--  https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/linuxgsm.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)...,,, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)||:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18646 (18K) [text/plain]
Saving to: ‘linuxgsm.sh’

linuxgsm.sh                               100%[=====================================================================================>]  18.21K  --.-KB/s    in 0s

2021-07-12 18:30:36 (85.3 MB/s) - ‘linuxgsm.sh’ saved [18646/18646]

When the download is complete, then assign execution permissions to the script.

sudo chmod +x linuxgsm.sh

And now run it indicating the name of the game

bash linuxgsm.sh sdtdserver

After this, now we have to install the server.

./sdtdserver install

At the end of the installation, we are asked if everything went well.

1.- 7 Days to die server installed
1.- 7 Days to die server installed

And finally, it is indicated to us that everything has gone well with an output by a screen similar to this one

2.- 7 Days to die instance on Debian 10
2.- 7 Days to die instance on Debian 10

Now, start the instance

./sdtdserver start

Sample Output:

[ OK ] Starting sdtdserver: Applying steamclient.so sdk64 fix: 7 Days To Die
[ OK ] Starting sdtdserver: Applying steamclient.so sdk32 fix: 7 Days To Die
[ OK ] Starting sdtdserver: My Game Host

Now the installation is ready. You just have to enjoy it from the client. To play it you have to buy it on Steam.


Thanks to this post, you will be able to deploy your own 7 Days to Die server, a game with very good ratings. Which tells us that it is very good.

Enjoy it.

Share this post and buy us a coffee.

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
"The best Linux newsletter on the web"


Please enter your comment!
Please enter your name here

Latest article