How to Install Killing Floor Server on Ubuntu

In this tutorial, you will learn how to set up your own Killing Floor server. The commands were written for Ubuntu but may be adopted for other Linux distributions (such as CentOS).

Prerequisites

First, install the required packages.

sudo apt-get update
sudo apt-get install lib32gcc1 screen wget

Configure Server

Create a directory for your server.

mkdir ~/killingfloor ; cd ~/killingfloor

Download and extract SteamCMD.

wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz
tar -xvzf steamcmd_linux.tar.gz

Run SteamCMD and enter your Steam login identity.

./steamcmd.sh
login <username> <password>

Set the installation directory and wait for the game files to download.

force_install_dir /home/<user>/killingfloor/game/
app_update 215360 validate

Create a startup script for your server.

vi killingfloor.sh

## Paste in these two lines, and save.
cd /home/<user>/killingfloor/game/System/
./ucc-bin server KF-farm.rom?Difficulty=7.0?game=KFmod.KFGameType?VACSecured=true?MaxPlayers=6 -ini=Killingfloor.ini -nohomedir

chmod +x killingfloor.sh

Edit Killingfloor.ini with the settings that you would like to use.

cat /home/<user>/killingfloor/game/System/Default.ini > /home/<user>/killingfloor/game/System/Killingfloor.ini
vi /home/<user>/killingfloor/game/System/Killingfloor.ini

Start your server on screen.

screen -S killingfloor ./killingfloor.sh

Your server is now running, Enjoy!

We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies

More