TABLE OF CONTENTS
We're going to be using a freshly deployed Ubuntu 18.04 server for this guide, so we'll be updating and upgrading first and foremost.
sudo apt update && sudo apt upgrade -y
Visit https://linuxgsm.com/servers/ and select a server that you would like to install. We'll pick Counter-Strike: Global Offensive for our demo. Next, we'll click on Dependencies and copy the code provided next to Ubuntu 64-Bit.
sudo dpkg --add-architecture i386; sudo apt update; sudo apt install mailutils postfix curl wget file tar bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux lib32gcc1 libstdc++6 lib32stdc++6 steamcmd
From the command-line do the following. Ensuring you have also installed the required dependencies.
1. Create a user:
For security, please ensure that you set a strong password for this account.
Now log in as this user:
su - csgo2. Download linuxgsm.sh.
wget -O linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh csgo-server
3. Run the installer, and follow along with the on-screen instructions.
Game Server Login Token (GSLT)
GSLT is required by this particular game server to be listed on the Steam Master Server List.
To register your server visit the Steam GSAM page which can be found at https://steamcommunity.com/dev/managegameservers
Congratulations! You're now ready to use your newly created CS:GO game server.
You can find a list of all available commands by typing:
For more detailed information about using LGSM, please visit the official docs over at: https://docs.linuxgsm.com/