{"id":1552,"date":"2018-07-11T13:51:25","date_gmt":"2018-07-11T13:51:25","guid":{"rendered":"https:\/\/scunster.co.uk\/?p=1552"},"modified":"2018-07-11T14:57:19","modified_gmt":"2018-07-11T14:57:19","slug":"create-killing-floor-2-dedicated-server-linux","status":"publish","type":"post","link":"https:\/\/scunster.co.uk\/?p=1552","title":{"rendered":"Create Killing Floor 2 Dedicated Server &#8211; Linux"},"content":{"rendered":"<p>This guide was created on Debian 9<\/p>\n<p>Firstly create a new user and group to run the killing floor server<\/p>\n<pre>sudo useradd -m kfserver -p PASSWORD<\/pre>\n<p>Now, let&#8217;s create the group<\/p>\n<pre>sudo groupadd kfserver<\/pre>\n<p>And, let&#8217;s add our new kfserver user to the new kfserver group<\/p>\n<pre>sudo usermod -a -G kfserver kfserver<\/pre>\n<p>Now we can log in as the user and do all of the work in their home directory.<\/p>\n<pre>mkdir kf2<\/pre>\n<pre>mkdir steamcmd<\/pre>\n<pre>cd steamcmd<\/pre>\n<pre>wget http:\/\/media.steampowered.com\/installer\/steamcmd_linux.tar.gz<\/pre>\n<pre>tar -xvzf steamcmd_linux.tar.gz<\/pre>\n<pre>.\/steamcmd.sh +logon anonymous +force_install_dir \/home\/kfgamma\/killingfloor2\/ +app_update 232130 validate +quit<\/pre>\n<pre>cd ..\/kf2<\/pre>\n<pre>.\/Binaries\/Win64\/KFGameSteamServer.bin.x86_64 kf-bioticslab<\/pre>\n<p>Now create a file to start the server and add the command above to it<\/p>\n<pre>vi startkf2.sh<\/pre>\n<pre>chmod +x startkf2.sh<\/pre>\n<pre>vi KFGame\/Config\/LinuxServer-KFGame.ini<\/pre>\n<p>Finally launch your server<\/p>\n<pre>.\/startkf2.sh<\/pre>\n<p>Don&#8217;t forget to allow the following ports through the linux firewall and your routers firewall<br \/>\nGame Port 7777 UDP<br \/>\nQuery Port 27015 UDP<br \/>\nWeb Admin 8080 TCP<br \/>\nSteam Port 20560 UDP<br \/>\nNTP Port 123 UDP<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This guide was created on Debian 9 Firstly create a new user and group to run the killing floor server sudo useradd -m kfserver -p PASSWORD Now, let&#8217;s create the group sudo groupadd kfserver And, let&#8217;s add our new kfserver user to the new kfserver group sudo usermod -a -G kfserver kfserver Now we can [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[163],"tags":[413,412,410,411,252,414],"class_list":["post-1552","post","type-post","status-publish","format-standard","hentry","category-game-servers","tag-dedicated","tag-floor","tag-kf2","tag-killing","tag-steam","tag-steamcmd"],"_links":{"self":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1552","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1552"}],"version-history":[{"count":3,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1552\/revisions"}],"predecessor-version":[{"id":1557,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1552\/revisions\/1557"}],"wp:attachment":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1552"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1552"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}