The command line tool for quick, simple deployment and management of Linux Killing Floor 2 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.
88 game servers are supported and counting.
Written in BASH and using the MIT License.
176 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 just messing around trying to get their server working. LinuxGSM is 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 2 server up and running.
Don't have a server? Install kf2server 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 2?
Killing Floor 2 client is available from the Humble Store.
kf2server 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 kf2server.
sudo dpkg --add-architecture i386; sudo apt update; sudo apt install mailutils postfix curl wget file 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 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 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 bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc jq tmux libstdc++6
dnf install mailx postfix curl wget file bzip2 gzip unzip python binutils bc jq tmux glibc.i686 libstdc++ libstdc++.i686
dnf install mailx postfix curl wget file 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 bzip2 gzip unzip python binutils bc jq tmux glibc.i686 libstdc++ libstdc++.i686
yum install mailx postfix curl wget 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 kf2server
note: do NOT set the password as kf2server
. Use a strong password.
random password:
passwd kf2server
su - kf2server2. Download linuxgsm.sh.
wget -O linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh kf2server3. Run the installer and follow the instructions.
./kf2server install
Support this project on Patreon, Paypal and Flattr.
Further documentation and support is available.
./kf2serverBelow are the most common commands available.
./kf2server start
./kf2server stop
./kf2server restart
./kf2server console
To exit the console press CTRL+b d. Pressing CTRL+c will terminate the server.
./kf2server updateBypass the check and go straight to SteamCMD update.
./kf2server force-update
./kf2server validate
You can get all important and useful details about the server such as passwords, ports, config files etc.
./kf2server 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.
./kf2server 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/kf2server/logs
Backup will allow you to create a complete bzip2 archive of the whole server.
./kf2server 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.
./kf2server 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.