In this guide, you will learn how to create an ARK: Survival Evolved server on your AKLWEB HOST VPS.
An AKLWEB HOST VPS with at least 8192 MB of RAM.
Update your system:
apt-get update && apt-get upgradeInstall SteamCMD:
wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
tar 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.conf
echo "* 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 server
cd 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.targetUpdate the daemon to save your changes:
systemctl daemon-reloadEnable your new service:
systemctl enable ark.service
systemctl start arkConclusion
You have now successfully installed your ARK: Survival Evolved server on Debian.