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.
apt install steamcmd
yum install steamcmd
For Arch Linux see:
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:
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.
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:
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:
Run the app_update line again and then follow all the Oxide instructions again.