Introduction
In this tutorial, we will show you how to install LinuxGSM on a VPS server. LinuxGSM is an application that allows you to create and manage a game server on your VPS with ease. It is compatible with Debian, Ubuntu and CentOS operating systems. To see the full list of features, visit the official website.
Installation of dependencies
To begin, we will install the dependencies required for the proper functioning of LinuxGSM on our operating system.
The following commands are to be run as administrator on your server.
Ubuntu
For Operating Systems running on Ubuntu
dpkg --add-architecture i386
apt update
apt install mailutils postfix curl wget file tar bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux netcat lib32gcc1 lib32stdc++6 steamcmd libtinfo5:i386
Debian
For Operating Systems running on Debian 9 & 10
dpkg --add-architecture i386
apt update
apt install mailutils postfix curl wget file tar bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux netcat lib32gcc1 lib32stdc++6 libtinfo5:i386
CentOS
For Operating Systems running on CentOS 7 & 8
yum install epel-release
yum install mailx postfix curl wget tar bzip2 gzip unzip python3 binutils bc jq tmux glibc.i686 libstdc++ libstdc++.i686 ncurses-libs.i686
Gamedig Module
GameDig is a recommended add-on module, which allows LinuxGSM to collect more information about the game server, such as the current map and connected players to be displayed in the details and logs.
It also replaces the default LinuxGSM query module of the monitor.
Installation of Node.js
GameDig requires Node.js (a JavaScript runtime environment) to work. To install Node.js, follow the tutorial: [How to install Node.js].
Installation of Gamedig
Now that Node.js is present on our system, let's install Gamedig:
npm install gamedig -g
Install a GameServer
Everything is ready to use LinuxGSM.
- To install a game, go to this page and search for it.
- For example, for
Minecraft
click here: https://linuxgsm.com/lgsm/mcserver/. - Once on the page of the game you want to install, click on
Install
and follow the instructions. - To know all the commands that will allow you to manage your server, click on
Basic Usage
.