Setting Up a Rust Dedicated Server

Setting Up a Rust Dedicated Server

Step 1 — Install SteamCMD

add-apt-repository multiverse -y
dpkg --add-architecture i386
apt update
apt install steamcmd -y

Step 2 — Create a Steam User

adduser steam
su - steam

Step 3 — Download Rust Server Files

steamcmd +force_install_dir ~/rustserver +login anonymous +app_update 258550 validate +quit

Step 4 — Create a Startup Script

nano ~/start-rust.sh
#!/bin/bash
cd ~/rustserver
./RustDedicated -batchmode   +server.port 28015   +server.hostname "My Rust Server"   +server.description "Welcome!"   +server.maxplayers 50   +server.worldsize 3500   +server.seed 12345   +server.identity "myserver"   +rcon.port 28016   +rcon.password "yourpassword"   +rcon.web 1
chmod +x ~/start-rust.sh

Step 5 — Open Firewall Ports

ufw allow 28015/tcp
ufw allow 28015/udp
ufw allow 28016/tcp

Step 6 — Start the Server

screen -S rust ~/start-rust.sh

Updating the Server

steamcmd +force_install_dir ~/rustserver +login anonymous +app_update 258550 validate +quit
  • 0 Uživatelům pomohlo
Byla tato odpověď nápomocná?

Související články

Setting Up a Minecraft Java Server

Setting Up a Minecraft Java Server Deploy a Minecraft Java Edition server on your dedicated...

Setting Up a CS2 Dedicated Server

Setting Up a Counter-Strike 2 Dedicated Server Deploy a CS2 server using SteamCMD on your...

Managing Game Servers with LinuxGSM

Managing Game Servers with LinuxGSM LinuxGSM (Linux Game Server Manager) simplifies installation...

Setting Up a Valheim Dedicated Server

Setting Up a Valheim Dedicated Server Step 1 — Install SteamCMD add-apt-repository multiverse...

Setting Up a 7 Days to Die Server

Setting Up a 7 Days to Die Server Step 1 — Install SteamCMD add-apt-repository multiverse -y...