The command-line tool for quick, simple deployment and management of Linux Killing Floor dedicated game servers.
Runs on your favorite Linux distros. Ubuntu, CentOS and more.
Designed to be simple to install and use.
Runs on your favorite Linux distros. Ubuntu, CentOS and more.
Designed to be simple to install and use.
103 game servers are supported and counting.
Written in BASH and using the MIT License.
206 game servers are supported and counting.
Written in BASH and using the MIT License.
Traditionally game servers are not easy to manage yourself. Admins often have to spend hours messing around trying to get their server working. LinuxGSM is a command-line tool designed to be as simple as possible, allowing admins to spend less time on management and more time gaming.
Below are the basic instructions you need to get your own Killing Floor server up and running.
Don't have a server? Install kfserver on a cloud server.
Linode [recommended], Vultr, DigitalOcean, UpCloud.
Most offer free credit to get you started.
Don't own a copy of Killing Floor?
Killing Floor client is available from the Humble Store.
kfserver will run on popular distros as long as the minimum requirements are met.
ARE
supported.ARE
supported.Only 32-Bit binary is available.
SteamCMD by Valve is used to install and update this game server.
Before installing, you must ensure you have all the dependencies required to run kfserver.
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 libstdc++6:i386
sudo apt install mailutils postfix curl wget file tar bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux libstdc++6
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 libstdc++6:i386
sudo apt install mailutils postfix curl wget file tar bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux libstdc++6
dnf install mailx postfix curl wget file tar bzip2 gzip unzip python binutils bc jq tmux glibc.i686 libstdc++ libstdc++.i686
dnf install mailx postfix curl wget file tar bzip2 gzip unzip python binutils bc jq tmux libstdc++
EPEL is required to install some dependencies needed for using LinuxGSM on CentOS.
yum install epel-release
yum install mailx postfix curl wget tar bzip2 gzip unzip python binutils bc jq tmux glibc.i686 libstdc++ libstdc++.i686
yum install mailx postfix curl wget tar bzip2 gzip unzip python binutils bc jq tmux libstdc++
From the command-line do the following. Ensuring you have also installed the dependencies above.
1. Create a user and login.adduser kfserver
note: do NOT set the password as kfserver
. Use a strong password.
random password:
passwd kfserver
su - kfserver2. Download linuxgsm.sh.
wget -O linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh kfserver3. Add Steam login details.
You will need to enter a Steam username and password to download dedicated server.
It is recommended that you create a new Steam username just for the server.
nano lgsm/config-lgsm/kfserver/common.cfg
steamuser="username"4. Run the installer and follow the instructions.
steampass='password'
./kfserver install
Support this project on Patreon, Paypal and Ko-Fi.
Further documentation and support is available.
./kfserverBelow are the most common commands available.
./kfserver start
./kfserver stop
./kfserver restart
./kfserver console
To exit the console press CTRL+b d. Pressing CTRL+c will terminate the server.
./kfserver updateBypass the check and go straight to SteamCMD update.
./kfserver force-update
./kfserver validate
You can get all important and useful details about the server such as passwords, ports, config files etc.
./kfserver details
Use debug mode to help you if you are having issues with the server. Debug allows you to see the output of the server directly to your terminal allowing you to diagnose any problems the server might be having.
./kfserver debug
Server logs are available to monitor and diagnose your server. Script, console and game server (if available) logs are created for the server.
/home/kfserver/logs
Backup will allow you to create a complete tar bzip2 archive of the whole server.
./kfserver backup
LinuxGSM can monitor the game server by checking that the proccess is running and querying it. Should the server go offline LinuxGSM can restart the server and send you an alert. You can use cronjobs to setup monitoring.
./kfserver monitor
For details on how to alter LinuxGSM settings visit LinuxGSM Config Files page.
For detailed documentation visit the LinuxGSM docs.
Its always a good idea to use Google before posting your questions. Many questions people ask have been asked before. So to save time always use google before posting a question. google.com
The LinuxGSM docs are a useful resource for all LinuxGSM related topics.
For general LinuxGSM support visit the LinuxGSM-Support issues page.
LinuxGSM has a GitHub issues page where you can submit any bugs and feature suggestions.
Join the LinuxGSM Discord community server. Discuss your LinuxGSM setup, get help and advice.