bookmark_borderContent servers unreachable: Steam does not download

If your Steam client gives you the error An error occurred while installing Your Game (content servers unreachable) whenever you want to update or install a game, you might have to check your network connection in the first place. However, if the error isn’t related to your network, this quick and easy workaround will help you to get rid of the error.

Who is affected by this problem?

Basically everyone can be affected by this. I for myself got confronted with this problem twice under Windows and almost every time when I’m using the Steam Windows version under Linux with WINE. Because of this fact, this article only covers Windows and Steam WINE installations. If you’re a user of the Mac or Linux native Steam client, this workaround could help as well. However, you have to find the specific file (which has to be edited later on) on your own.

Steam content servers unreachable error message
Steam yells „content servers unreachable“ in a WINE prefix

The workaround

This workaround has originally brought up by a user in the forums. We have to add a list of servers to the config.vdf file from your Steam installation. This list of servers are representing the content servers provided by Valve. Navigate to the config directory within the Steam installation directory. It is located under Windows by default in C:\Program Files (x86)\Steam\config. For a default Linux WINE prefix you have to navigate to $HOME/.wine/drive_c/Program Files (x86)/Steam/config. Search for a file called config.vdf. Open the file with the Notepad editor under Windows or with the editor you’re typically use under Linux and add the following line after the line starting with the word cip:

"CS" ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Save and close the file. If you’re a Windows user you may see a message saying that you can’t save the edited file at the given location. If so, simply save the new config.vdf file on your desktop. Move the so saved file to the Steam config directory afterwards.


I’m unable to tell you why Steam sometimes isn’t able to find the Content servers on it’s own. The list above represents the content servers provided by Valve. The list of servers could change in the future of course. But right now, the workaround gives you the capability to download and update your Steam games again.
If you know more about this issue, especially why it actually occurs on some installations, please let me know in the comment section below.

Further links


bookmark_borderTime-controlled shutdown/reboot of Linux or Windows

Time-controlled shutdowns or reboots are needed many times. For example you want to go to sleep. However, Steam is still updating your installed games. You want to have your Steam games ready updated when you’re waking up again. You look into your Steam download queue and you find out that it just needs two more hours. With a time-controlled shutdown you can go to sleep without interrupting this update process. This short article describes how to shutdown or restart your Linux or Windows machine by a given time.

Time-controlled shutdown/reboot on Linux


The good thing here is that every Linux distribution can execute this commands. They are the same on every distribution and every system. So, with the following command you tell your Linux distribution to shutdown your computer after 2 hours automatically:

user@machine:~$ sudo shutdown -h 120

The command shutdown speaks for itself. With the parameter -h you tell the shutdown command to power off the computer. The alternative would be halt. Still today some PCs aren’t turning off the power when they receive a halt. With the poweroff signal however, the PC is totally powering off. The number, after the -h switch, is the time in minutes when the PC should power off from now on. In this example this would be 120 minutes. You could also directly enter a time here. In the following example the PC would power off at 21:45:

user@machine:~$ sudo shutdown -h 21:45

And if you want to shutdown your machine right now, you can use the word NOW:

user@machine:~$ sudo shutdown -h NOW

With the same shutdown command you can also do a reboot. To do so, simply replace the -h switch with -r. The following example reboots the computer after 120 minutes (two hours):

user@machine:~$ sudo shutdown -r 120

You can also enter a time here as well:

user@machine:~$ sudo shutdown -r 21:45

And as you may have seen the pattern, the following command restarts the PC right now:

user@machine:~$ sudo shutdown -r NOW
Cancel an active shutdown or reboot

If you entered a time-controlled shutdown or reboot and you want to cancel it for whatever reason, simply use the shutdown command with the -c switch like this:

user@machine:~$ sudo shutdown -c

Time-controlled shutdown/reboot on Windows

In order to do a time-controlled shutdown or reboot on Windows, we need a terminal window. This can be easily opened with pressing the keyboard combination Windows+R. In the following window enter cmd and click OK:

Time-controlled shutdown start cmd
The run window

Afterwards you will see a console terminal which looks like this:
Time-controlled shutdown cmd started
A command line in Windows 7


For a time-controlled shutdown under Windows, there is (just like in Linux) the tool shutdown available. The following command would shutdown your Windows PC in 2 hours:

C:\Users\testuser> shutdown /s /t 1200

Like in Linux, the /s switch tells your PC to shutdown / power off. The /t switch tells the shutdown command in how many seconds the PC should shutdown. If you want to shutdown your PC „immediately“, simply omit the /t switch like this:

C:\Users\testuser> shutdown /s

The PC will then shutdown within the next 60 seconds (which is the default value when executing the shutdown command without a timer under Windows).


For restarting, replace the /s switch with the /r switch. For e.g., this will trigger a reboot after two hours:

C:\Users\testuser> shutdown /r /t 1200

Or to trigger a reboot right now (60 seconds):

C:\Users\testuser> shutdown /r
Cancel an active shutdown or reboot

If you entered the wrong time for the shutdown / reboot or if you simply changed your mind, enter the following command to cancel the active shutdown / reboot:

C:\Users\myuser> shutdown /a


For a lot of people, shutting down or rebooting the PC at a specific time is a very needed feature. I’m the best example for this kind of person. Since I’ve moved to my new living place, the internet is only a twentieth of were it was before. This means that downloading games through Steam are time and bandwidth consuming. But starting the download right before I go to bed and use the shutdown command to plan a shutdown helps a little bit. Over night my bandwidth can be fully used by the Steam so that nobody gets distracted. When the download is finished, my system is shutting down which saves energy and protects the hardware. So knowing how to shutdown your PC at a specific time is a „must know“. And now you know as well 🙂
Do you have any thoughts about this topic you want to share? Are you actively using time-controlled shutdown or reboots? Let me know in the comments below.

Further links

bookmark_borderRead Manga on Amazon Kindle and other eReaders

Do you like Manga? Do you also like to use eBook readers for reading text based books? Well, today you can combine these two things. With the help of the right tools you can bring your Manga on Amazon Kindle or any other eBook reader of your choice. This article gives you a step-by-step guide how to get your Manga books eReader ready.
This tutorial should also work for Comics. However, I’m a Manga reader and therefore don’t have a Comic ready to test. This means that this article focuses on Manga on Amazon Kindle / eBook readers only.

Why not just a tablet?

It’s correct that the most easiest and viable option would be to buy a 8-inches or 10-inches tablet. For e.g. the Amazon Kindle Fire HD 8 or Kindle Fire HD 10 would be a cheap and viable option. However, personally I don’t like to stare at an LCD or IPS display all the time while reading. It’s simply too straining for my eyes. E-Ink displays are the complete opposite. They are great for reading and give you a feeling that you’re actually reading a book. You can also read with these E-Ink screens outside. You will have zero reflection. Also, the battery is lasting much longer with one load cycle than a tablet.
In summary we can say, that tablets can be used for a lot of things like watching videos, listening to music, browsing the web and reading Comics and Manga. eReaders on the other hand are designed for one thing: Reading books. The biggest benefit for the eReaders are the display and the long lasting battery. However, you have to decide on your own if you want a multi purpose device or a device which does only one thing but gets this done right.

Can every eBook reader render Manga correctly?

There are some limitations when it comes to the eReader you should use. When I’m talking about Manga on Amazon Kindle or other eReader devices, I’m talking about the HD variants. While you can convert your Manga to a first gen Amazon Kindle for example, it will be difficult to almost impossible to read the Manga. The reason for that is, that the resolution of the screen from the earlier Kindle and eBook readers isn’t able to show that much pixels in order to render the pictures and fonts in a way a human eye can read it. I for myself am a Tolino Shine 2 HD user. This device has a 300 ppi screen and renders the Manga books perfectly. Devices with a similar or even better resolution like a Tolino Shine 2 HD for example are:

There are plenty other readers and this list is just a short overview of possible alternatives. Pick the one which suits best to you (if you haven’t one already). But keep in mind that the most important thing is an HD display (300 ppi / DPI) to get your Manga rendered correctly.

Kindle Comic Converter makes Manga and Comics eReader ready

Now that you’ve your eBook reader of choice ready, we can start converting the Manga. For this we use a tool which is called Kindle Comic Converter. This tools does not comes from Amazon nor does the developers have anything to do with them.
But why would you even want to convert the Manga before transferring them to your eReader? For the Amazon Kindle devices this answer is simple. The most Manga are published as a PDF or ePub file. These file types aren’t supported by the Amazon Kindle eBook readers. Therefore, you have to convert it into a so called MOBI file. But the most important reason is to resize the Manga to the screen size of your eBook reader. If you transfer your Manga to your eBook reader and simply start reading it, the Manga doesn’t automatically fits itself to the screen size of your eBook reader. Look at this picture for example where a unconverted ePub files is opened by a tolino shine 2 HD:

Manga on Kindle not optimized
Not optimized Manga on a tolino shine 2 HD (click to enlarge)

As you can see, the Manga is cut in halves due to the screen size. The rest of the Manga simply didn’t got rendered. And this is where Kindle Comic Converter comes into play. With the help of this tool you will be able to get a result like this:
Manga on Kindle optimized
Same page but optimized on a tolino shine 2 HD (click to enlarge)

Kindle Comic Converter is a free and open source software which converts CBZ, PDF, ZIP, RAR and a list of JPEG pictures into an ePub or MOBI format. It’s available for Windows, Linux and Mac OS X. The following chapters are covering how to install and use it.

Installation of Kindle Comic Converter

The installation of the Kindle Comic Converter software is rather simple. The following chapters are describing how to install under Linux, Windows and Mac OS X.


If you are a Debian, Linux Mint or Ubuntu user, you can download the Debian package for your distribution version from the official homepage and install it like that:

user@machine:~$ sudo dpkg -i kindlecomicconverter_5.4.5_distri_amd64.deb
user@machine:~$ sudo apt-get -f install

However, the following method works for all Linux distribution. It downloads and installs automatically all dependencies which are needed. The only requirement is that the Python package installer for Python 3 is available on your system. But in order to get all features of the Kindle Comic Converter software working, we also install the packages unrar and p7zip. These two packages allows Kindle Comic Converter to extract ZIP and RAR based files. For openSUSE simply enter this:

user@machine:~$ sudo zypper ref && sudo zypper in python3-pip unrar p7zip

For Debian, Linux Mint and Ubuntu you can install it with this command:

user@machine:~$ sudo apt-get update && sudo apt-get install python3-pip unrar p7zip-full

Now that you’ve installed the Python package installer, you can finally install Kindle Comic Converter as well. This command is equals on every Linux distribution:

user@machine:~$ sudo pip3 install KindleComicConverter

After some minutes or seconds (depending on your internet speed), the installation is finished and you can enter the kcc on command line in order to start Kindle Comic Converter.


As a Windows user you may already be used to download and install software with a typical installer. The Kindle Comic Converter software also comes with such a installer. Simply download the installer from the official homepage and click yourself through the installation process.

Mac OS X

You can download the Mac OS X dmg file from the official homepage. After the download is finished, you can open the downloaded file and drag the content into your applications just like with the other software you’ve installed.

Only for Kindle users: Download and install kindlegen

kindlegen is an additional piece of software which allows the Kindle Comic Converter software to convert the output to a so called MOBI file. MOBI is the proprietary format that Amazon uses on their Kindle devices. This also means that this software is only needed if you’re using an Amazon Kindle eBook reader.
In order to install kindlegen on your PC or Mac, you have to download it from here for your operating system and move it to the following places:

  • For Windows: If you’re a Windows user, extract the downloaded ZIP file and move the kindlegen.exe into the directory where you installed Kindle Comic Converter. By default this directory is  C:\Program Files\Kindle Comic Converter. Restart Kindle Comic Converter if it’s actually running.
  • For Linux: As a Linux user, you have to extract the GZ archive and move the binary to the directory /usr/local/bin. This can done on command line easily:
    user@machine:~$ wget
    user@machine:~$ tar xfvz kindlegen_linux_2.6_i386_v2_9.tar.gz
    user@machine:~$ sudo mv kindlegen /usr/local/bin
  • For Mac OS X: Amazon also provides kindlegen for OS X. However, I’m unable to do more testing here because I don’t have a Mac (anymore). The developer of Kindle Comic Converter recommends using the homebrew installer brew to install kindlegen on a Mac OS X device. Enter the following command in order to install kindlegen with brew:
    user@osx:~$ brew cask install kindlegen

Convert Manga to ePub format

Now that you have everything prepared you can finally start converting your Manga into a ePub format suiting to your eBook Reader. To do so, start Kindle Comic Converter. For OS X and Windows simply start the application as you’re used to. For Linux, simply enter the command kcc on the command line. You should see a window which looks like this:

KCC start window
KCC start window

To convert a PDF, CBZ, CBR, ZIP or RAR file, click on Add file and select the Manga you want to convert. As already mentioned a lot of Manga are published either as a PDF or CBZ file. However, if the Manga you want to convert is already a ePub file, simply change the ending .epub into .zip. You will then be able to add the renamed file to Kindle Comic Converter.
After adding a file, you have a various list of options to choose from. The first one is the option to the left hand of the Convert button. Here you can choose a device where you want to convert the Manga for. There are a various of presets available for many Kindle and Kobo devices. If your device isn’t listed you can always choose the option Other. If you choose the Other option you can set a custom width and height at the bottom. Enter the resolution of your eBook reader here.
Another option you have to set in order to read the Manga on your eBook reader is the Manga mode. This mode adds support for right-to-left reading which is absolutely necessary for any Manga of course.
The right drop down menu next to the Convert button is the output file format. If you have an Amazon Kindle device it’s recommend to choose the MOBI/AZW3 option here. If you’re a tolino, NOOK, Pocketbook, etc. user you should choose ePub instead.
All other settings can be ignored for now. They are providing additional features which aren’t needed in order to get a Manga readable on an eBook reader. You can finally click on Convert. You will then see a dialog where you have to select the destination path for the output file.
Note: The developers are providing a Wiki page where a lot of users already reported which settings would be optimal for specific eBook readers. You can checkout it out here. Your eBook reader is maybe already listed there as well.

Transfer your converted Manga to your eReader

For non Kindle users, this is business as usual. Most of the modern eReaders are shown as a USB storage device when you connect them to your PC or Mac. Simply move the created ePub to the eReader via your file browser and that’s it. The Manga should pop up within a second in the library of your eReader.
As an Amazon Kindle user however, you have two options:

  1. You can use the „personal“ mail address of your Amazon Kindle device. Just mail your MOBI file to the given address. It should pop up within a few minutes as long as your Kindle device is connected to the internet. You can see the mail address of your Kindle device under the settings menu. Most of the times it starts with your first name combined with a random number and ends with
  2. Use a tool like Calibre to send your files to your Kindle. Calibre is a eBook suite which can be considered as a virtual shelf for eBooks. Calibre itself supports converting to different file formats which are eBook reader friendly like ePub. Calibre is also free and open source software.

Where to buy eBook Manga?

While going into a store to buy the Manga you want to read is easy and self explaining, the question „Where can I buy Manga eBooks?“ is something that has to be answered. One valid option for almost every country is Amazon. Amazon offers a wide range of Manga eBooks. Even older volumes are published here again digital. Buying on Amazon works great as long as you’re an Amazon Kindle user. If you’re like me and you use another eReader you would have to download the Manga onto your computer, convert the .mobi file extension into an ePub and convert it from there on. I’ve seen some people posting that Amazon also offers PDF based Manga. However, I can’t confirm nor deny that right now.
But besides Amazon there are also other vendors available. For US customers, Barnes & Nobles are offering eBook based Manga and Comics. In Germany there are vendors like and which are both selling eBook Manga and Comics. But that’s just a very short list. There are even more alternatives available. Even the Humble Bundle comes up with a Manga and Comic eBook bundle from time to time. The last bundle included over 30 Manga volumes for just 18$.


As someone who collects video games, I understand that someone who is really passionate when it comes to collecting Manga or Comics buying digital isn’t an alternative. For me as someone who just likes to read Manga, the digital way of reading them is a more handy, cheaper, ecological and space saving solution. For everyone who doesn’t care if the Manga is digital or physical, I really recommend you to check out an eBook reader for reading Manga. Sadly I’m unable to tell if a 6″ to 7″ eReader is also acceptable for comics. I will most likely test this in the future but I guess that the experience isn’t the same because of the missing colors with the e-Ink displays (there are no eReaders with e-Ink displays available as of today).
What do you think about digital Manga or Comics? Do you see this as a viable option? Or do you stick to the physical version? Let me know in the comments section below.

Further links

bookmark_borderDump / save a PostgreSQL output

PostgreSQL is one of the most used open source database solutions besides MariaDB / MySQL. Even though they have some similarities, PostgreSQL is based on a object-relational database management system while MariaDB and MySQL are relational database management systems.
This article is about how to save a PostgreSQL output. While you can use the command mysqldump to dump your MariaDB or MySQL database, saving an output with PostgreSQL is a little bit different and doesn’t require an extra tool.

Switch to the database

First and foremost we have to change / go to the database. In Linux you also have to be the PostgreSQL system user in order to work with the database. To change the user just use sudo:

user@machine:~$ sudo -u postgres /bin/bash

You are now the user postgres. You can see this at the beginning of your command line. Instead of your username you can now see postgres@ at the beginning of the line. As next we use the psql command to switch into the actual database we want to dump:

postgres@machine:~$ psql database
psql (9.3.14)
Type "help" for help.

You are now connected to the database. Don’t forget to replace database with the desired database you want to connect to.

Save a PostgreSQL output

To finally save an output you can use normal SQL statements which are returning your desired value and wrap this command within a COPY statement. The following example saves the output of an PostgreSQL statement in the file output.txt which will be located in /tmp:

database=# COPY (select firstname, lastname from user_table) TO '/tmp/output.txt';

Save a PostgreSQL output as CSV

You can also define in which format the output should be saved. You can save the output as a CSV file so that you will be able to easily work with the output within LibreOffice or MS Office for example. The following example saves the same output as in the example above, but uses CSV with semicolons as a format:

database=# COPY (select firstname, lastname from user_table) TO '/tmp/ouput.csv' (format csv, delimiter ';');

Exit database / psql command

To exit the database access and therefore the running psql command, simply enter \q to quit.

Final words

As you can see, saving / dumping PostgreSQL output directly into a text file even as a CSV file is a great feature. No extra tools needed. But PostgreSQL comes with much more than just dumping output to test and CSV files. Even the COPY command can be modified with a lot of other different settings. A good book about PostgreSQL is PostgreSQL: Up and running by Regina Obe and Leo Hsu. It covers a lot of other things besides dumping output from PostgreSQL as well.

bookmark_borderHow to setup a 7 Days to Die server under Linux

Setting up a 7 Days to Die server under Linux isn’t as difficulty as you may think. The Steam developer Valve is providing a tool which makes it easier, even for people who aren’t that familiar with the Linux command line. This article is covering how you setup your own 7 Days to Die server under a Ubuntu or Debian installation.

About 7 Days to Die

7 Days to Die is a zombie apocalypse survival crafting game which has been initially released in December 2013. The game is still in a „Early Access“ stage. 7 Days to Die is similar to Minecraft in the way it is played, but provides better graphics and a different scenario. There are also some quests included like treasure hunting. In the latest version (as of written in June 2018) the developer The Fun Pimps also integrated vehicles into the game. Like in Minecraft, the real fun with 7 Days to Die starts when you start playing with friends. Surviving, building and creating in a random generated world can bring you hours of fun and a long lasting motivation to go on in the things you wanna achieve.

Install requirements

On a freshly Debian or Ubuntu installation, we need to install some requirements in the first place. With the following command we will update the package repositories and install the necessary requirements:

user@machine:~$ sudo apt-get update && sudo apt-get install screen wget

Adding 32-Bit libraries

The Steam command line tool is only available as a 32-Bit program. As of today most of the systems are 64-Bit based. Ubuntu for e.g. isn’t even supporting 32-Bit anymore. If you’re running an 32-Bit system, you can skip this part. To find out if you have a 32-Bit system installed, just issue the following command on your system:

user@machine:~$ arch

If the output of this command is i386 or i586, you have a 32-Bit system. If it’s x86_64 you’re using a 64-Bit system. In this case you have to issue the following two commands as well:

user@machine:~$ sudo dpkg --add-architecture i386
user@machine:~$ sudo apt-get update && sudo apt-get install lib32gcc1

This installs the lib32gcc1 file which is a 32-Bit library. This library is needed by the Steam command line tool. If this library isn’t installed, the following commands will fail.

Download and extract Steam

As next, we acquire the Steam command line tool for Linux machines in order to download the server files via the Steam network. Before that we create a separate folder (which is called steamcmd) were we are going to download the Steam command line tool to:

user@machine:~$ mkdir steamcmd
user@machine:~$ cd steamcmd
user@machine:~/steamcmd$ wget

The wget command is now downloading the Steam Linux command line tool. After the download is finished, we can extract this tool (it is compressed right now) like this:

user@machine:~/steamcmd$ tar -xvzf steamcmd_linux.tar.gz

Updating the Steam tool

You can now start updating the Steam tool. Execute the following command to start the update:

user@machine:~/steamcmd$ ./

This process will take some time. In the meanwhile, you will see a lot of output on the console like this:

Redirecting stderr to '/home/user/.steam/logs/stderr.txt'
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[ 0%] Checking for available update...
[----] Downloading update (0 of 13.028 KB)...
[ 0%] Downloading update (38 of 13.028 KB)...
[ 0%] Downloading update (38 of 13.028 KB)...
[ 0%] Downloading update (38 of 13.028 KB)...
[ 0%] Downloading update (38 of 13.028 KB)...

When the process is finished you will see a output which looks like this:

Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.

The last line Steam> tells you that the Steam command line tool is actually opened and Steam waits for you to enter a command.

Login into Steam

When using the Steam command line tool, you have to login just like with the graphical desktop version. Enter the command login followed by your Steam username to login. Steam will then ask you for your password and Two Factor Authentication (if enabled). When you enter your password there will be no input shown. But this is normal, just like in almost every Linux / UNIX software:

Steam> login <USERNAME>
Logging in user '<USERNAME>' to Steam Public...
Enter the current code from your Steam Guard Mobile Authenticator app
Two-factor code:XXXXX
Logged in OK
Waiting for user info...OK

Download and install the 7 Days to Die server files

Now that you’re logged in, you can finally start downloading and installing your 7 Days to Die server. With the first of the following two commands we enforce Steam to install the 7 Days to Die server files into the directory 7dtd_server. The second one is starting the actual installation process of the server files. The number 294420 is the ID for the 7 Days to Die server files:

Steam> force_install_dir 7dtd_server
Steam> app_update 294420

Alternatively, if you want to use the latest BETA of the dedicated server, us the following two commands instead:

Steam> force_install_dir 7dtd_server
Steam> app_update 294420 -beta latest_experimental

This will download the latest BETA experimental branch the developers are providing to the public audience.
You can see again an output which will show you the actual progress:

Update state (0x5) validating, progress: 2.19 (75656327 / 3459239207)
Update state (0x61) downloading, progress: 0.21 (7340032 / 3459239207)
Update state (0x61) downloading, progress: 1.02 (35228112 / 3459239207)
Update state (0x61) downloading, progress: 2.75 (95064875 / 3459239207)

The app_update commands can take even longer than the Steam update process. It basically depends on your internet connection speed. After this command was successful, you will get yet again another message about it:

Success! App '294420' fully installed.

You can now quit the Steam command line tools by simply entering quit. Congratulations, you successfully downloaded and installed a 7 Days to Die server under Linux.

Configuring your server

You have a lot of options to configure your 7 Days to Die server to your wishes. The file to do so is the serverconfig.xml which is in the same directory as your 7 Days to Die server files. So change into the 7 Day to Die server directory:

user@machine:~/steamcmd$ cd 7dtd_server

Within this directory, there is already an example serverconfig.xml. While this file should work already, you should take at least some tweaks. To edit this file you can use the editor nano:

user@machine:~/steamcmd/7dtd_server$ nano serverconfig.xml

With CTRL+W you can search for a string. With CTRL+O you can save the file. And with CTRL+X you close the editor. The following parameters are a suggestion how you should modify your serverconfig.xml.
[table id=1 /]
You can always come back and change the parameters to your desire. However, you always have to restart the server after each change. For a full list of all possible values, check out this list.

Starting the server

Puh, lot of stuff right? But now the time has come to start your server. In order to have your server running constantly, you have to use screenscreen is a tool which runs programs even while you logged out. But first, ensure that you’re still in the 7dtd_server directory and enter the following commands:

user@machine:~/steamcmd/7dtd_server$ screen -S 7dtd
user@machine:~/steamcmd/7dtd_server$ ./7DaysToDieServer.x86_64 -logfile output.log -configfile=$HOME/steamcmd/7dtd/serverconfig.xml -dedicated

Your server will now start. This can take up to 5 minutes. You get no output when the server is ready. If you want to know more about what is hapenning, take a look at the output.log file within your 7dtd_server directory. To close the screen session (and therefore let the server run in the background), press CTRL+A followed by the D key for detaching. You can now close your remote session to your server without shutting down your 7 Days to Die server itself. If you want to attach to the screen session again, simply enter this command:

user@machine:~$ screen -r 7dtd

You can now start 7 Days to Die on your desktop / gaming machine, click on Connect To Server and enter either die IP address / name of your server (FQDN) and click on the connect symbol or search for your server name in the upper left (if you set your server to public at the step before):

7 Days to Die server connect
Connection field in 7 Days to Die

If you can’t connect at this point, you may have to check your firewall or the firewall on your server (if you use one). On default, the 7 Days to Die server listens on port 26900. This port has to be accessible from the internet.

Stopping the server

To stop your server, simply resume your screen session like this:

user@machine:~$ screen -r 7dtd

And press CTRL+C afterwards. It can take a few seconds up to a minute before the server shuts down.

How to become an admin?

In order to become an admin, you have to tell your server your Steam ID. Otherwise the server can’t decide which player really should get admin rights. To get your Steam ID, simply open Steam, click on your profile and copy the long number within the URL:

7 Days to Die server Steam ID
Steam ID

On your server, change into the following directory and create a file called serveradmin.xml. Open it afterwards with an text editor (we use nano again in this case):

user@machine:~$ cd $HOME/.local/share/7DaysToDie/Saves/
user@machine:~/.local/share/7DaysToDie/Saves$ touch serveradmin.xml
user@machine:~/.local/share/7DaysToDie/Saves$ nano serveradmin.xml

Enter at least the following lines:

    <admin steamID="12345YourSteamID" permission_level="0" />

Don’t forget to change the value 12345YourSteamID to your Steam ID! Press CTRL+O to save and CTRL+X to close the file. Afterwards, stop and start the 7 Days to Die server and that’s it. You could even create moderators and give each of them specific rights. However, this would definitely burst this article. If you want to know more about the possible rights management on a 7 Days to Die server, check out this link.

Last words …

As you can see, with a little bit of work you can setup your own 7 Days to Die server on a cheap Linux VPS for example. Of course you could also go with a hosted one and don’t bother about all the setup stuff, but this is way more costly. And if you’re interested in working with Linux machines, this is a good way to learn a little bit about how to maintain and setup server software under Linux in general. If you have any comments, wishes or notes, please let me know down below in the comments.