+ How to create a Rust server on Linux
Johannes Olzem
May 23, 2023
Table of Contents
Requirements
- Debian Linux
- - >5GB of RAM
- - >4.5GB of free disc space
+ - >5GB of RAM
+ - >4.5GB of free disc space
SteamCMD
Configuring the envoirenment
@@ -47,9 +54,9 @@
sudo passwd steam
-
+
- When prompted, enter a new password for the "steam" user.
+ When prompted, enter a new password for the "steam" user.
Then switch to the "steam" user and go to its home folder.
@@ -58,19 +65,19 @@
cd
-
+
Enable the contrib and non-free repositories by changing your /etc/apt/sources.list to resemble the following:
-
- deb http://deb.debian.org/debian bullseye main contrib non-free
- deb-src http://deb.debian.org/debian bullseye main contrib non-free
-
- deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
- deb-src http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
-
- deb http://deb.debian.org/debian bullseye-updates main contrib non-free
- deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free
+
+ deb http://deb.debian.org/debian bullseye main contrib non-free
+ deb-src http://deb.debian.org/debian bullseye main contrib non-free
+
+ deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
+ deb-src http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
+
+ deb http://deb.debian.org/debian bullseye-updates main contrib non-free
+ deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free
Installing SteamCMD
@@ -79,7 +86,7 @@
sudo apt install steamcmd
-
+
Installing
Run SteamCMD
@@ -87,15 +94,15 @@
steamcmd
-
+
- After a short update period, a prompt like Steam> should appear.
+ After a short update period, a prompt like Steam> should appear.
To login anonymously type:
login anonymous
-
+
Now install the Rust Dedicated Server application.
@@ -103,15 +110,15 @@
app_update 258550
- This will install and verify the Rust server.
- On my ~100 Mbit/s connection this took around 15-20 Minutes.
-
+ This will install and verify the Rust server.
+ On my ~100 Mbit/s connection this took around 15-20 Minutes.
+
Afterwards you can quit the SteamCMD shell.
quit
-
+
Running
First navigate to the Rust server directory.
@@ -119,18 +126,18 @@
cd ~/Steam/steamapps/common/rust_dedicated
-
+
Finally, start up the Rust server by running:
./RustDedicated -batchmode
-
+
There are several arguments you can pass to the server to change its behaviour.
-
+
| Parameter
@@ -235,17 +242,19 @@
| gamelog.txt
|
- If you"re using a script, you"d better put the current date as a filename, otherwise, it"ll be erased on every start.
+ | If you're using a script, you'd better put the current date as a
+ filename, otherwise, it'll be erased on every start.
|
-silent-crashes
|
-
|
- Won"t display a crash dialog and will restart automatically if server is installed as service.
+ | Won't display a crash dialog and will restart automatically if server
+ is installed as service.
|
-
+
Sources
+