LinuxGSM allows for the simple installation of game servers. The installer is designed to get a game server to a working state allowing the game server to be started right away.
The installer will:
Create required directories
Install/advise on required dependencies
Download the game server files
Load config files
Apply any fixes required to get the game server working
The standard installation is the default installation method that requires user interaction.
Auto install is useful for automatic server deployments as no user prompt is required.
Make your script executable:
chmod +x gameserver
Run the install command:
./gameserver install or
./gameserver auto-install to bypass any prompts.
Follow on screen instructions.
Installation of dependencies requires either
sudo or root access. LinuxGSM can automatically install dependencies if the user has
sudo or is
./gameserver install and the installer will complete a dependency installation only, ignoring the other installation steps.
If a user has sudo access the installer will prompt to enter the sudo password to automatically install dependencies. If sudo is not available the installer will advise on the command required to install dependencies.
LinuxGSM may fail to run if the correct permissions have not been used. This fault commonly occurs if an admin has not correctly followed installation instructions found on https://linuxgsm.com
Common faults include:
Trying to install the LinuxGSM as root.
Trying to install LinuxGSM in a directory not owned by the correct user.
gameserver file executable using the
chmod +x command.
If trying to run as
root LinuxGSM will fail to run. See FAQ.
To check if the correct user owns the directory or
gameserver file, use
drwxrwxr-x 5 nmrihserver nmrihserver 4096 Jul 17 20:25 lgsmdrwxr-xr-x 4 nmrihserver nmrihserver 4096 Aug 27 2015 log-rwxrwxr-x 1 nmrihserver nmrihserver 3885 Aug 9 23:04 nmrihserverdrwxrwxr-x 8 nmrihserver nmrihserver 4096 Jul 17 20:32 serverfilesdrwxrwxr-x 3 nmrihserver nmrihserver 4096 Jul 17 20:25 .steamdrwxrwxr-x 8 nmrihserver nmrihserver 4096 Aug 19 16:00 Steamdrwxrwxr-x 6 nmrihserver nmrihserver 4096 Aug 19 16:00 steamcmd
If some files/directories are not owned by the correct user, use the
chown command. Login as
root and use the following command, changing the details to match your server
chown -R username:username /home/gameserver
chown -R csgoserver:csgoserver /home/csgoserver
If the connection to the Steam servers is poor (quite common), SteamCMD download can fail. This is why LinuxGSM will always ask you if installation was successful allowing admins to retry the download should it fail.
If there are still issues downloading try the validate option.
If downloading is still failing it may be worth contacting your server provider to confirm steam servers are not being blocked for any reason.
It is also worth searching the internet for issues relating to the error message you receive.
Some game servers take up a significant amount of disk space. If you are having issues downloading check that your server has enough space available.
To check your available storage, use:
df -h or
Make sure you can
ping using a hostname.
Should this fail, your server may not have DNS lookup correctly configured. https://www.cyberciti.biz/faq/linux-setup-dns-lookup/