install
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
Commands
Standard Install
The standard installation is the default installation method that requires user interaction.
Standard: ./gameserver install
Short: ./gameserver i
Auto Install
Auto install is useful for automatic server deployments as no user prompt is required.
Standard: ./gameserver auto-install
Short: ./gameserver ai
Installation
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.
Install Dependencies
Installation of dependencies requires either sudo
or root access. LinuxGSM can automatically install dependencies if the user has sudo
or is root
.
If dependencies are not installed the server may not start.
Dependencies as root
As root
run ./gameserver install
and the installer will complete a dependency installation only, ignoring the other installation steps.
Dependencies as sudo user
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 Installation Issues
User Permission Issues
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.
Not making
gameserver
file executable using thechmod +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 ls -al
Example output
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
Poor Network Connection to Steam servers
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 there are still issues downloading try the validate option.
./gameserver validate
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.
Not Enough Storage
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 ./gameserver details
DNS Issue
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/
Last updated