Comment on page
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.
- 1.Make your script executable:
chmod +x gameserver
- 1.Run the install command:
./gameserver auto-installto bypass any prompts.
- 2.Follow on-screen instructions.
Installation of dependencies requires either
sudoor root access. LinuxGSM can automatically install dependencies if the user has
If dependencies are not installed the server may not start.
./gameserver installand 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.
Common faults include:
- Trying to install the LinuxGSM as root.
- Trying to install LinuxGSM in a directory not owned by the correct user.
- Not making
gameserverfile executable using the
To check if the correct user owns the directory or
drwxrwxr-x 5 nmrihserver nmrihserver 4096 Jul 17 20:25 lgsm
drwxr-xr-x 4 nmrihserver nmrihserver 4096 Aug 27 2015 log
-rwxrwxr-x 1 nmrihserver nmrihserver 3885 Aug 9 23:04 nmrihserver
drwxrwxr-x 8 nmrihserver nmrihserver 4096 Jul 17 20:32 serverfiles
drwxrwxr-x 3 nmrihserver nmrihserver 4096 Jul 17 20:25 .steam
drwxrwxr-x 8 nmrihserver nmrihserver 4096 Aug 19 16:00 Steam
drwxrwxr-x 6 nmrihserver nmrihserver 4096 Aug 19 16:00 steamcmd
If some files/directories are not owned by the correct user, use the
chowncommand. Login as
rootand 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), the SteamCMD download can fail. This is why LinuxGSM will always ask you if the installation was successful allowing admins to retry the download should it fail.
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:
Make sure you can
pingusing a hostname.