Rust Linux Game Server

LinuxGSM is a command line tool for quick, simple deployment and management
of Linux Rust dedicated game servers.

  • Getting started
  • Linux

    Runs on your favorite Linux distros. Ubuntu, CentOS and more.
  • Easy to use

    Designed to be simple to install and use.
Rust Screenshot
game-server: ~$ ./rustserver install
Laptop
  • Many Games Supported

    78 game servers are supported and counting.
  • Open Source

    Written in BASH and using the MIT License.

Hassle Free Dedicated Servers

Game servers traditionally are not easy to manage yourself. Admins often have to spend hours just messing around trying to get their server working. LinuxGSM is designed to be a simple as possible allowing admins to spend less time on management and more time gaming.

Benefits

  • Easy to install
  • Simple CLI
  • Well documented
  • Automated
  • Regularly updated
  • Open source
  • Compatible

Features

  • Installer
  • Updater
  • Monitor
  • Alerts
  • Server Details
  • Backups
  • Console (tmux)
  • Mods Installer

Getting Started with rustserver

Below are the basic instructions you need to get your own Rust server up and running.

Rust Logo

Install

Compatibility

rustserver will run on popular distros as long as the minimum requirements are met.

Minimum Recommended Distros

  • Ubuntu Icon Ubuntu 12.04 LTS
  • Debian Icon Debian 8
  • Fedora Icon Fedora 17
  • Centos Icon CentOS 7

Other Distros

Although not tested, any distro with tmux => 1.6 and glibc => 2.15 should also be compatible with Rust servers.

Supported Architecture

  • 64-Bit distros ARE supported.
  • 32-Bit distros ARE supported.

Only 32-Bit binary is available.

SteamCMD

SteamCMD by Valve is used to install and update this game server.

Rust Logo

Dependencies

Before installing, you must ensure you have all the dependencies required to run rustserver.

Ubuntu 64-bit

Ubuntu Icon
sudo dpkg --add-architecture i386; sudo apt update; sudo apt install mailutils postfix curl wget file bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc tmux lib32gcc1 libstdc++6 libstdc++6:i386 lib32z1

Ubuntu 32-bit

Ubuntu Icon
 sudo apt install mailutils postfix curl wget file bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc tmux libstdc++6 lib32z1

Debian 64-bit

Debian Icon
sudo dpkg --add-architecture i386; sudo apt update; sudo apt install mailutils postfix curl wget file bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc tmux lib32gcc1 libstdc++6 libstdc++6:i386 lib32z1

Debian 32-bit

Debian Icon
 sudo apt install mailutils postfix curl wget file bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc tmux libstdc++6 lib32z1

Fedora 64-bit

Fedora Icon
dnf install mailx postfix curl wget file bzip2 gzip unzip python binutils bc tmux glibc.i686 libstdc++ libstdc++.i686 zlib-devel

Fedora 32-bit

Fedora Icon
dnf install mailx postfix curl wget file bzip2 gzip unzip python binutils bc tmux libstdc++ zlib-devel

CentOS 64-bit

CentOS Icon
yum install mailx postfix curl wget bzip2 gzip unzip python binutils bc tmux glibc.i686 libstdc++ libstdc++.i686 zlib-devel

CentOS 32-bit

CentOS Icon
yum install mailx postfix curl wget bzip2 gzip unzip python binutils bc tmux libstdc++ zlib-devel
Want to test out rustserver on a VPS cloud server? Try Vultr or DigitalOcean. Both offer free credit.

Install

1. Create a user and login.
adduser rustserver
passwd rustserver
su - rustserver
2. Download and run the script.
wget https://linuxgsm.com/dl/linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh rustserver
3. Run the installer and follow the instructions.
./rustserver install
Support this project on Patreon and Paypal.
Further documentation and support visit the documentation wiki.

Basic Usage

All Commands

A complete list of commands can be found by typing
./rustserver
Below are the most common commands available.

Running

start

./rustserver start

stop

./rustserver stop

restart

./rustserver restart

console

Console allows you to view the live console of a server as it is running and allow you to enter commands; if supported.
./rustserver console
To exit the console press CTRL+b d. Pressing CTRL+c will terminate the server.

Updating

update

Update checks for any server updates and applies them. The server will update and restart only if required.
./rustserver update
Bypass the check and go straight to SteamCMD update.
./rustserver force-update

validate

You can use the SteamCMD validate option when updating the server.
./rustserver validate

Debugging

Details

You can get all important and useful details about the server such as passwords, ports, config files etc.

./rustserver details

Debug

Use debug mode to help you if you are having issues with the server. Debug allows you to see the output of the server directly to your terminal allowing you to diagnose any problems the server might be having.

./rustserver debug

Logs

Server logs are available to monitor and diagnose your server. Script, console and game server (if available) logs are created for the server.

/home/rustserver/logs

Backup

Backup will allow you to create a complete bzip2 archive of the whole server.

./rustserver backup

Monitor

LinuxGSM can monitor the game server by checking that the proccess is running and querying it. Should the server go offline LinuxGSM can restart the server and send you an alert. You can use cronjobs to setup monitoring.

./rustserver monitor

Configure LinuxGSM

For details on how to alter LinuxGSM settings visit LinuxGSM Config Files page.

Documentation

For detailed documentation visit the LinuxGSM wiki.

Support

Documentation

install

General Support

steamcmd

Bugs/Features

github

Community

GitHub Wiki

The GitHub wiki is a useful resource for all LinuxGSM related topics.

Steam Group

LinuxGSM has a Steam Group where you can get general support for LinuxGSM related stuff.

GitHub Issues

LinuxGSM has a GitHub Issues page where you can submit any bugs and feature suggestions.

Discord

Join the LinuxGSM Discord community server. Discuss your LinuxGSM setup, get help and advice.