How to Install ARK: Survival Evolved on Debian 9
Introduction
Section titled “Introduction”In this guide, you will learn how to create an ARK: Survival Evolved server on your AleForge VPS.
Requirements
Section titled “Requirements”- An AleForge VPS with at least 8192 MB of ram.
Installation
Section titled “Installation”Update your system:
apt-get update && apt-get upgradeInstall SteamCMD :
wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gztar xf steamcmd_linux.tar.gzIncrease the allowed number of files to be open at the same time:
echo "fs.file-max=100000" >> /etc/sysctl.conf && sysctl -pUpdate the limits:
echo "* soft nofile 1000000" >> /etc/security/limits.confecho "* hard nofile 1000000" >> /etc/security/limits.confEnable PAM limits:
echo "session required pam_limits.so" >> /etc/pam.d/common-sessionCreate a new directory called server :
mkdir servercd serverCreate a symlink for SteamCMD :
ln -s /usr/games/steamcmd steamcmdRun steamcmd with the following parameters:
steamcmd +login anonymous +force_install_dir /root/server +app_update 376030 +quitCreate 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-reloadEnable your new service:
systemctl enable ark.servicesystemctl start arkConclusion
Section titled “Conclusion”You have now successfully installed your ARK: Survival Evolved server on Debian.