ARK Survival Evolved Server Deployment Overview¶
Prerequisites¶
The following parameters and components are required for the server to function correctly:
-
Operating System: Ubuntu (Debian family).
-
System User:
steam. -
Access: Superuser privileges (
sudo) for package installation and system service configuration. -
Network Requirements: Open UDP ports for game traffic, queries, and RCON.
Available Connection Ports¶
To ensure server operation, the following ports must be opened (UDP protocol):
| Port | Purpose | Protocol |
|---|---|---|
7777 | Game Traffic | UDP |
27015 | Query Port | UDP |
32330 | RCON Port (Administration) | UDP |
Application Installation Process¶
Server deployment is performed by automating environment setup and downloading game files via SteamCMD:
-
Installation of system dependencies (
curl,lib32gcc1,lib32stdc++6,screen,wget,tar). -
Creation of the
steamsystem user. -
Downloading and extracting
SteamCMDinto the/home/steam/steamcmddirectory. -
Using the
install.shscript to download ARK game files via the command:steamcmd.sh +force_install_dir /home/steam/ARK +login anonymous +app_update 376030 validate +quit -
Creation of a
systemdsystem service for automatic server startup.
Permissions and Security¶
-
User: All game processes are executed as the
steamuser. -
Firewall: Configuration of
ufw(if using a Debian-family OS) to allow incoming UDP traffic on ports7777,27015, and32330. -
Restrictions: Game files are owned by the
steamuser and thesteamgroup.
Starting and Stopping the Application¶
Server management is performed via the systemd system service:
-
Start server:
-
Stop server:
-
Restart server:
-
Check status:
Permission Settings (File and Directory Permissions)¶
The following access permissions are set during the deployment process:
| Path | Owner/Group | Permissions |
|---|---|---|
/home/steam/steamcmd | steam:steam | Directory |
/home/steam/ARK | steam:steam | Directory |
/home/steam/install.sh | steam:steam | 0755 (executable) |
/home/steam/ARK/ark_server_start.sh | steam:steam | 0755 (executable) |
/etc/systemd/system/ark.service | root:root | 0644 |
Configuration Files and Data Locations¶
All primary application data is located in the steam user's home directory:
-
Game Directory:
/home/steam/ARK -
Server Startup Script:
/home/steam/ARK/ark_server_start.sh -
SteamCMD Utility:
/home/steam/steamcmd -
System Unit (service):
/etc/systemd/system/ark.service