Linux Rust Server Vanilla + Oxide

This guide has only been tested with Ubuntu 18.04 however it should work with any distro that SteamCMD supports.

1. Deploy a SkySilk VPS running a Linux distro of your choice.


2. Login to your VPS via SSH.


3. We need to install SteamCMD.


Note: Steam recommends that you create a separate user account for SteamCMD. Further documentation on SteamCMD can be found here.


For Ubuntu/Debian: 

apt install steamcmd 

For RedHat/CentOS:

yum install steamcmd

For Arch Linux see:

https://aur.archlinux.org/packages/steamcmd/


4. After SteamCMD finishes installing, run it and wait for the update checks to complete. After they have completed run the following command to login to the Steam anonymous user:


login anonymous



5. After you are logged in run the below commands to download the game server:


force_install_dir /path/to/install/server/to
app_update 258550



6. Once the game server finishes installing cd to the install directory of the server. Then execute "nano startrust.sh" fill it with the following contents editing the configurations as you desire:


#!/bin/sh
clear while : do
  exec ./RustDedicated -batchmode -nographics \
  -server.ip IPAddressHere \
  -server.port 28015 \
  -rcon.ip IPAddressHere \
  -rcon.port 28016 \
  -rcon.password "rcon password here" \
  -server.maxplayers 75 \
  -server.hostname "Server Name" \
  -server.identity "my_server_identity" \
  -server.level "Procedural Map" \
  -server.seed 12345 \
  -server.worldsize 3000 \
  -server.saveinterval 300 \-server.globalchat true \
  -server.description "Description Here" \
  -server.headerimage "512x256px JPG/PNG headerimage link here" \
  -server.url "Website Here"
  echo "\nRestarting server...\n" done


7. Then execute:

chmod u+x startrust.sh



You should now be able to start your Vanilla Rust server using the startrust.sh file.


Updating Vanilla:

It's as simple as rerunning the "app_update 258550" line in SteamCMD


Note :You should only continue past this point if you want to install Oxide on your Rust server.


Notice: Before continuing you should have followed all of the above instructions already.


1. Download the Oxide server zip:

 

wget https://github.com/OxideMod/Snapshots/raw/master/Oxide-Rust_Linux.zip


 

2. Install unzip from your distro's repositories if you haven't already. Then unzip the Oxide zip into the server directory overwriting all conflicting files. 


3. After the unzip finishes run the following command to ensure the CS plugins run:

 

chmod u+x CSharpCompiler


 

See here for more info on Oxide:

http://oxidemod.org/forums/rust-discussion.23/


Updating Oxide:

Run the app_update line again and then follow all the Oxide instructions again.

Login or Signup to post a comment