ServerLoomRapide et Sécurisé
Connexion Commencer

How to host a Rust server on Linux (Ubuntu) with SteamCMD

Install a Rust dedicated server on Ubuntu with SteamCMD, open the right ports, start it with a simple script, keep it online 24/7 and update it on wipe day.

Intermédiaire 12 min de lecture Mis à jour le 5 déc. 2026 Équipe ServerLoom
Sur cette page

A Rust server needs a fast CPU and plenty of RAM, and it must be updated every month on wipe day. In this guide you install a Rust dedicated server on Ubuntu 22.04 or 24.04 with SteamCMD and keep it online 24/7.

What you need

  • An Ubuntu server with a high-clock CPU (4+ cores) and 12–16 GB RAM for a 3500 map and up to ~100 players. Bigger maps and more plugins need more.
  • NVMe storage — saves and map loading are much faster.
  • Your server IP and root password (or SSH key) from your dashboard.

Step 1: Install SteamCMD

Connect with ssh root@YOUR-SERVER-IP and run these commands. SteamCMD asks you to accept the Steam license: use the arrow keys and Enter.

Bash
apt update && apt install -y software-properties-common tmuxadd-apt-repository -y multiversedpkg --add-architecture i386apt updateapt install -y steamcmd

Step 2: Open the ports

  • 28015 UDP — the game (players connect here).
  • 28016 TCP — RCON (remote admin tools).
  • 28017 UDP — server list / query.
  • 28082 TCP — Rust+ companion app (optional).
Bash
ufw allow OpenSSHufw allow 28015/udpufw allow 28016/tcpufw allow 28017/udpufw allow 28082/tcpufw enable

Step 3: Create a user and download Rust

The download is about 10 GB, so this takes a few minutes.

Bash
adduser --disabled-password --gecos "" rustsu - rust/usr/games/steamcmd +force_install_dir /home/rust/server +login anonymous +app_update 258550 validate +quit

Step 4: Write a start script

Create the file with nano /home/rust/start.sh, paste this, change the name, seed and RCON password, then save with Ctrl + O and Ctrl + X:

Bash
#!/bin/bashcd /home/rust/serverexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/rust/server/RustDedicated_Data/Plugins/x86_64./RustDedicated -batchmode -nographics \  +server.port 28015 +server.queryport 28017 \  +rcon.port 28016 +rcon.password "CHANGE-THIS-PASSWORD" +rcon.web 1 \  +app.port 28082 \  +server.hostname "My ServerLoom Rust Server" \  +server.identity "main" \  +server.level "Procedural Map" +server.seed 12345 +server.worldsize 3500 \  +server.maxplayers 100 +server.saveinterval 300 \  -logfile /home/rust/server/rust.log
Bash
chmod +x /home/rust/start.shtmux new -s rust/home/rust/start.sh

The first start generates the map and takes several minutes. Leave the console with Ctrl + B, then D (come back with tmux attach -t rust). In Rust, press F1 and type client.connect YOUR-SERVER-IP:28015.

Astuce de pro

Map size matters more than player count for RAM: a 4500 map uses clearly more memory than a 3500 map. Start with 3500 and grow when your server is full.

Step 5: Update on wipe day

Facepunch releases a forced update on the first Thursday of every month. Players can't join until your server is updated:

  1. Stop the server: attach to tmux and press Ctrl + C.
  2. Run the same SteamCMD command as in step 3 again.
  3. For a map wipe, change server.seed in start.sh, or delete the .map and .sav files in /home/rust/server/server/main.
  4. Start the server again with /home/rust/start.sh.

Plugins

Want kits, teleports or a shop? Install a modding framework such as Carbon or Oxide (uMod) — always the version that matches the current Rust update, and reinstall it after every forced update.

Troubleshooting

  • Server not in the list — UDP 28017 is missing, or the server is still generating the map. Direct connect with client.connect still works.
  • Players can't join after the update — your server is not updated yet (step 5).
  • Server crashes on start — read the last lines of /home/rust/server/rust.log; most often there is not enough RAM.

Next: secure your Linux server in 15 minutes.

Prêt à essayer ? Lancez votre serveur Rust

FPS serveur élevés, ServerLoom Shield et support 24h/24 et 7j/7 — prêt pour le jour du wipe.

See Rust plans
Bloqué à une étape ? Notre équipe vous aide 24h/24 et 7j/7. Demander sur Discord

Besoin d’aide ?

Choisissez comment nous contacter