How to Install ARK: Survival Evolved on Debian 9

Introduction

In this guide, you will learn how to create an ARK: Survival Evolved server on your Aklweb host VPS.

Requirements

  • Aklweb host VPS with at least 8192 MB of ram.

Installation

Update your system:

apt-get update && apt-get upgrade

Install SteamCMD:

wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
tar xf steamcmd_linux.tar.gz

Increase the allowed number of files to be open at the same time:

echo "fs.file-max=100000" >> /etc/sysctl.conf && sysctl -p

Update the limits:

echo "* soft nofile 1000000" >> /etc/security/limits.conf
echo "* hard nofile 1000000" >> /etc/security/limits.conf

Enable PAM limits:

echo "session required pam_limits.so" >> /etc/pam.d/common-session

Create a new directory called server:

mkdir server
cd server

Create a symlink for SteamCMD:

ln -s /usr/games/steamcmd steamcmd

Run steamcmd with the following parameters:

steamcmd +login anonymous +force_install_dir /root/server +app_update 376030 +quit

Create a new SystemD service file and populate it with the following information:

/lib/systemd/system/ark.service

 `[Unit]
  Description=ARK Survival Evolved
  [Service]
  Type=simple
  Restart=on-failure
  RestartSec=5
  StartLimitInterval=60s
  StartLimitBurst=3
  User=ark
  Group=ark
  ExecStartPre=/root/server/steamcmd +login anonymous +force_install_dir /root/server +app_update
  376030 +quit
  ExecStart=/root/server/ShooterGame/Binaries/Linux/ShooterGameServer TheIsland?listen?SessionName=example -server -log
  ExecStop=killall -TERM srcds_linux
  [Install]
  WantedBy=multi-user.target`

Update the daemon to save your changes:

systemctl daemon-reload

Enable your new service:

systemctl enable ark.service
systemctl start ark

Conclusion

You have now successfully installed your ARK: Survival Evolved server on Debian.

  • Linux Guides, Game Servers, Debian
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Setup Ragnarok Online Server on Ubuntu 14.04 x64

In this article, we are going to setup a Ragnarok Online Server on Ubuntu 14.04 x64. You can be...

Installing Debian on Drives Larger Than 2 TB

The following tutorial requires a motherboard that is EFI compatible (most boards since 2012 are...

How to Update CentOS 7, Ubuntu 16.04, and Debian 8

When setting up a new Linux server, updating the system's Kernel and other packages to the latest...

Simple Mailserver With Postfix, Dovecot, And Sieve On Debian 7

The following tutorial describes how to set up a simple mailserver using Postfix as MTA, Dovecot...

Setup Your Own Private Network With OpenVPN

AKLWEB Host offers you awesome private network connectivity for servers running at the same...