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).
First, install the required packages.
sudo apt-get update
sudo apt-get install lib32gcc1 screen wgetCreate a directory for your server.
mkdir ~/killingfloor ; cd ~/killingfloorDownload and extract SteamCMD.
wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz
tar -xvzf steamcmd_linux.tar.gzRun 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 validateCreate 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 -nohomedirchmod +x killingfloor.shEdit 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.iniStart your server on screen.
screen -S killingfloor ./killingfloor.shYour server is now running. Enjoy!