morgal.blogg.se

Killing floor 2 dedicated server
Killing floor 2 dedicated server




killing floor 2 dedicated server

We'll configure the unit to allow multiple KF2 servers using the configurations we set up in the previous steps. Systemd unit fileĬreating a systemd unit allows the system to handle starting and running the server in the background. In the next step we'll make a systemd unit file to allow systemd to handle starting and running the server. Launching the server this way will take over your terminal. If I wanted to run the suicidal server I'd pass -configsubdir=suicidal1./Binaries/Win64/86_64 kf-bioticslab -configsubdir=weekly1 This switch already uses the implicit install path, so I'll just pass -configsubdir=weekly1 to start the server running the weekly outbreak game mode. I'll configure them each separately - then execute them as different instances with a command line switch, -configsubdir. I create one folder called suicidal1 and one called weekly1. KFGame/Config and copy all the LinuxServer-*.ini files into each folder.Įxample: I'll be running one Suicidal server and one Weekly Outbreak. Setting Up Multiple Instances/Separate ServersĬreate individual folders for each instance inside of. Set bEnabled to true in the KFWeb.ini if you'd like to administer the server from the web portal and be sure to open port 8080, but make sure that port 8080 is only accessible from YOUR IP. Setting Up A Single InstanceĮdit the LinuxServer-KFGame.ini, change whatever settings you want to change ( ServerName, Difficulty, GameLength, etc) and fire up the server. Binaries/Win64/86_64 kf-bioticslabĬonfiguration variables can be found here. Launch the server to get the config files generated: cd. The force_install_dir section can be changed to whatever arbitrary location on the file system you want KF2 installed to. # Switch to the steam user and install su - mkdir ~/Steam & cd steamcmd # Give ownership of the directory to chown steam:steam /kf2 The following commands create an install directory, give ownership over it to the steam user, and install Killing Floor 2. If your distributions repos didn't have steamcmd, you can manually install it. SteamCMD may or may not be in the repos depending on the flavor of Linux your server is running. useradd -m steamĭon't change into the Steam user yet. Do not add this user to the list of sudoers. Giving arbitrary applications root access to the system is never a good idea.Ĭreate a Steam user to run all the Steam operations as. Don't run Steam or the KF2 dedicated server as the root user.






Killing floor 2 dedicated server