Arama Yap Mesaj Gönder
Mesaj Gönder Arama Yap
X

Select Your Country

Turkey (Türkçe)Turkey (Türkçe) Worldwide (English)Worldwide (English)
X

Select Your Country

Turkey (Türkçe)Turkey (Türkçe) Worldwide (English)Worldwide (English)

Prerequisites

  • A Linux server (VPS or dedicated)

  • At least 8 GB RAM recommended

  • Root or sudo access

  • SteamCMD installed (used to download the Rust server files)


 Step 1: Install Required Dependencies

bash
sudo apt update && sudo apt upgrade -y sudo apt install lib32gcc-s1 curl screen wget -y

 Step 2: Install SteamCMD

bash
mkdir -p ~/steamcmd cd ~/steamcmd wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz tar -xvzf steamcmd_linux.tar.gz

Step 3: Download Rust Dedicated Server

bash
mkdir -p ~/rustserver cd ~/steamcmd ./steamcmd.sh +login anonymous +force_install_dir ~/rustserver +app_update 258550 validate +quit

258550 is the Rust Dedicated Server App ID.


 Step 4: Start the Rust Server

Create a startup script:

bash
cd ~/rustserver nano start.sh

Paste the following (customize as needed):

bash
#!/bin/bash ./RustDedicated -batchmode +server.hostname "My Rust Server" \ +server.port 28015 +rcon.port 28016 +rcon.password "changeme" \ +server.maxplayers 50 +server.worldsize 3000 \ +server.seed 12345 +server.saveinterval 300 \ +server.identity "my_server_identity" -logfile "log.txt"

Make it executable:

bash
chmod +x start.sh

Step 5: Run the Server in Screen

bash
screen -S rustserver ./start.sh
  • Press Ctrl + A, then D to detach.

  • Reattach later with: screen -r rustserver


 Ports to Open

Make sure these ports are open in your firewall:

  • 28015 (game client)

  • 28016 (RCON)

Example with UFW:

bash
sudo ufw allow 28015/udp sudo ufw allow 28016/tcp

Tips

  • Save location: ~/.local/share/RustDedicated

  • RCON tools like RustAdmin or rcon.io can help manage your server remotely.

  • Add mods via uMod (Oxide) if you want customization.

Powered by WISECP
Top