How to Install an ARK: Survival Evolved Server on Ubuntu 26.04 LTS
Install an ARK: Survival Evolved dedicated server on Ubuntu 26.04 LTS with SteamCMD, run it under systemd, open the ports and configure the game.
This guide sets up a dedicated server for ARK: Survival Evolved on Ubuntu 26.04 LTS (the steps are the same on 24.04 LTS). You will install Valve's SteamCMD, download the official server files anonymously, run the server as an unprivileged user under systemd so that it starts at boot and updates itself on each start, open the required ports and find the configuration files. Ubuntu 18.04 is out of standard support, so use a current LTS release.
One limit to know before you start: only ARK: Survival Evolved has a native Linux server. The remake, ARK: Survival Ascended, requires Windows (or a Windows compatibility layer) according to the official wiki and is not covered here.
Requirements
- A 64-bit (x86_64) server with Ubuntu 26.04 LTS or 24.04 LTS. The server binary is 64-bit only.
- Memory: an empty map already uses roughly 3.5 to 4.5 GiB on The Island, and each connected player can add 50 to 150 MiB. Treat 8 GB of RAM as the practical minimum for a small group and more for large maps, mods or many players.
- CPU: about two cores per server instance; single-thread speed matters more than core count.
- Disk: around 18 GiB for the server files, plus room for saves, logs, updates and mods.
- A user with
sudorights (the examples usedeploy).
Create a user for the server
Do not run game servers as root. Create a dedicated account named steam without a password; you will switch to it with sudo when needed.
sudo adduser --disabled-password --gecos "" steam
Install SteamCMD
SteamCMD is the command-line Steam client used to download dedicated servers. On Ubuntu it is packaged in the multiverse component and is a 32-bit program, so enable multiverse and the i386 architecture first:
sudo apt install -y software-properties-common
sudo add-apt-repository -y multiverse
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install -y steamcmd
The installer displays the Steam licence agreement, which you have to accept to continue. The package installs the launcher as /usr/games/steamcmd.
Download the ARK server files
The ARK: Survival Evolved dedicated server is Steam app 376030 and can be downloaded with an anonymous login. Run SteamCMD as the steam user, and give the install directory before logging in:
sudo -u steam mkdir -p /home/steam/servers/ark
sudo -u steam -H /usr/games/steamcmd +force_install_dir /home/steam/servers/ark +login anonymous +app_update 376030 validate +quit
The first run updates SteamCMD itself and then downloads the server, which takes a while. Wait for the line saying that app 376030 was fully installed. If the anonymous login is rejected, which can happen when Steam's content servers are busy, simply run the command again later.
Create the systemd service
Create /etc/systemd/system/ark-dedicated.service with the following content. It follows the unit published in the official ARK wiki: SteamCMD checks for updates before every start, the server runs as steam, and the open-files limit is raised because the server opens far more files than the default limit allows.
[Unit]
Description=ARK: Survival Evolved dedicated server
Wants=network-online.target
After=syslog.target network.target nss-lookup.target network-online.target
[Service]
ExecStartPre=/usr/games/steamcmd +force_install_dir /home/steam/servers/ark +login anonymous +app_update 376030 +quit
ExecStart=/home/steam/servers/ark/ShooterGame/Binaries/Linux/ShooterGameServer TheIsland?SessionName=MyArkServer?MaxPlayers=20?ServerAdminPassword=ChangeThisAdminPassword
WorkingDirectory=/home/steam/servers/ark/ShooterGame/Binaries/Linux
LimitNOFILE=100000
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s INT $MAINPID
TimeoutStartSec=0
User=steam
Group=steam
[Install]
WantedBy=multi-user.target
Notes on the ExecStart line:
- The first argument is the map (
TheIsland), followed by options joined with?and no spaces. Options that begin with-, if you add any from the wiki, are appended after a space. - Change
SessionName(the name shown in the server list) andServerAdminPassword. Add?ServerPassword=YourJoinPasswordif players should need a password to join. WorkingDirectorymust point to theBinaries/Linuxfolder; without it, features such as mod downloads fail.UserandGroupare essential. If you leave them out, the server runs as root.TimeoutStartSec=0is an addition to the wiki's unit: it stops systemd from giving up while the update step downloads a large patch.
Because the unit file contains the admin password, make it readable by root only, then load, enable and start the service:
sudo chmod 600 /etc/systemd/system/ark-dedicated.service
sudo systemctl daemon-reload
sudo systemctl enable ark-dedicated
sudo systemctl start ark-dedicated
Open the firewall
The server uses these ports by default:
| Port | Protocol | Purpose |
|---|---|---|
| 7777 | UDP | Game port |
| 7778 | UDP | Peer port (always the game port + 1) |
| 27015 | UDP | Query port for the Steam server browser |
| 27020 | TCP | RCON remote administration (optional) |
With UFW, allow SSH first if the firewall is not active yet, then the game ports:
sudo ufw allow OpenSSH
sudo ufw allow 7777/udp
sudo ufw allow 7778/udp
sudo ufw allow 27015/udp
sudo ufw enable
Leave the RCON port closed unless you use it, and then allow it only from your own address, for example sudo ufw allow from 198.51.100.25 to any port 27020 proto tcp. If your provider has its own firewall in the hosting control panel, open the same ports there.
Verify that the server is running
sudo systemctl status ark-dedicated --no-pager
sudo journalctl -u ark-dedicated -f
Startup takes several minutes while the map loads; memory use climbs to a few gigabytes during that time. Once the server is listening, the UDP ports appear in:
sudo ss -lunp | grep -E '7777|7778|27015'
In the game, the server shows up in the unofficial server list under the session name you set. You can also add 203.0.113.10:27015 (your server's address and query port) to the favourites in the Steam client under View > Game Servers.
Configure the game settings
The server creates its ShooterGame/Saved folder on the first run. It contains the save games, logs and the two configuration files:
/home/steam/servers/ark/ShooterGame/Saved/Config/LinuxServer/GameUserSettings.ini
/home/steam/servers/ark/ShooterGame/Saved/Config/LinuxServer/Game.ini
GameUserSettings.ini holds most server options in its [ServerSettings] section (rates, PvE or PvP, autosave interval and so on); Game.ini is for deeper gameplay changes such as engram and level overrides, and you create it yourself if it does not exist. Many options can be given either on the command line or in GameUserSettings.ini; the official wiki's server configuration page lists every option with its default.
Stop the server before editing so that it does not overwrite your changes with the settings it has in memory:
sudo systemctl stop ark-dedicated
sudo -u steam nano /home/steam/servers/ark/ShooterGame/Saved/Config/LinuxServer/GameUserSettings.ini
sudo systemctl start ark-dedicated
Updates and backups
Because of the ExecStartPre line, restarting the service is all it takes to install a game update:
sudo systemctl restart ark-dedicated
The world is saved automatically every 15 minutes by default (AutoSavePeriodMinutes). Back up the whole Saved directory regularly, ideally while the server is stopped:
sudo systemctl stop ark-dedicated
sudo -u steam tar -czf /home/steam/ark-saved-$(date +%F).tar.gz -C /home/steam/servers/ark/ShooterGame Saved
sudo systemctl start ark-dedicated
Frequently asked questions
Can I host ARK: Survival Ascended this way?
No. According to the official wiki, the Survival Ascended server requires Windows or a Windows-like environment and has no native Linux build. Its Steam app ID (2430930) is different from the Survival Evolved server used in this guide.
How do I run a different map or a second server on the same machine?
Replace TheIsland in ExecStart with another map name from the wiki's map list. For a second instance, copy the unit file under a new name and give that instance its own ports with ?Port=7779?QueryPort=27016; each instance needs its game port and the port above it, so game ports go up in steps of two. Every instance needs its own share of RAM.
Why is my server missing from the in-game list?
Check that the UDP ports are open both in UFW and in any provider-level firewall, that the service has finished loading the map, and that you are looking at the unofficial list with the correct map and game-mode filters. The server does not support UPnP, so on a home connection the ports must also be forwarded on the router.
Mods stopped working after a game update. What can I do?
The official wiki documents a preaquatica beta branch that rolls the server back to the version before the Aquatica update for compatibility with older Workshop mods. Players have to select the same beta in their Steam client, and saves that were opened with a newer version should not be reused on the older branch.