The command line tool for quick, simple deployment and management of Linux Rust dedicated game servers.
Runs on your favorite Linux distros. Ubuntu, CentOS and more.
Designed to be simple to install and use.
Runs on your favorite Linux distros. Ubuntu, CentOS and more.
Designed to be simple to install and use.
85 game servers are supported and counting.
Written in BASH and using the MIT License.
170 game servers are supported and counting.
Written in BASH and using the MIT License.
Traditionally game servers 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 as simple as possible allowing admins to spend less time on management and more time gaming.
Below are the basic instructions you need to get your own Rust server up and running.
Don't have a server? Install rustserver on a cloud server.
Linode [recommended], Vultr, DigitalOcean, UpCloud.
Most offer free credit to get you started.
Don't own a copy of Rust?
Rust client is available from the Humble Store.
rustserver will run on popular distros as long as the minimum requirements are met.
Ubuntu 12.04 LTS
Debian 8
Fedora 17
CentOS 7ARE supported.ARE supported.Only 32-Bit binary is available.
SteamCMD by Valve is used to install and update this game server.
Before installing, you must ensure you have all the dependencies required to run rustserver.
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 jq tmux lib32gcc1 libstdc++6 libstdc++6:i386 lib32z1
sudo apt install mailutils postfix curl wget file bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux libstdc++6 lib32z1
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 jq tmux lib32gcc1 libstdc++6 libstdc++6:i386 lib32z1
sudo apt install mailutils postfix curl wget file bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux libstdc++6 lib32z1
dnf install mailx postfix curl wget file bzip2 gzip unzip python binutils bc jq tmux glibc.i686 libstdc++ libstdc++.i686 zlib-devel
dnf install mailx postfix curl wget file bzip2 gzip unzip python binutils bc jq tmux libstdc++ zlib-devel
EPEL is required to install some dependencies needed for using LinuxGSM on CentOS.
yum install epel-release
yum install mailx postfix curl wget bzip2 gzip unzip python binutils bc jq tmux glibc.i686 libstdc++ libstdc++.i686 zlib-devel
yum install mailx postfix curl wget bzip2 gzip unzip python binutils bc jq tmux libstdc++ zlib-devel
From the command-line do the following. Ensuring you have also installed the dependencies above.
1. Create a user and login.adduser rustserver
note: do NOT set the password as rustserver. Use a strong password.
random password:
passwd rustserver
su - rustserver2. Download linuxgsm.sh.
wget -O linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh rustserver3. Run the installer and follow the instructions.
./rustserver install
Support this project on Patreon, Paypal and Flattr.
Further documentation and support is available.
./rustserverBelow are the most common commands available.
./rustserver start
./rustserver stop
./rustserver restart
./rustserver console
To exit the console press CTRL+b d. Pressing CTRL+c will terminate the server.
./rustserver updateBypass the check and go straight to SteamCMD update.
./rustserver force-update
./rustserver validate
You can get all important and useful details about the server such as passwords, ports, config files etc.
./rustserver details
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
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 will allow you to create a complete bzip2 archive of the whole server.
./rustserver backup
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
For details on how to alter LinuxGSM settings visit LinuxGSM Config Files page.
For detailed documentation visit the LinuxGSM docs.
Its always a good idea to use Google before posting your questions. Many questions people ask have been asked before. So to save time always use google before posting a question. google.com
LinuxGSM has a Steam Group where you can get general support for LinuxGSM related stuff.
LinuxGSM has a GitHub Issues page where you can submit any bugs and feature suggestions.
Join the LinuxGSM Discord community server. Discuss your LinuxGSM setup, get help and advice.