Skip to content
Niclas Lindstedt edited this page Apr 12, 2015 · 14 revisions

Windows

  1. Download the Windows server online installer and install.
  2. Open C:\cfortsv\fortress\config.cfg and edit the settings from top to bottom.
  3. Open C:\cfortsv\qwfwd\config.cfg and edit the settings from top to bottom.
  4. Launch C:\cfortsv\mvdsv.exe and connect!

Linux

  1. Download the Linux server install script.
  2. Run chmod +x install_cfortsv.sh
  3. Run ./install_cfortsv.sh
  4. Run nano ~/.cfortsv/server.conf and edit the settings from top to bottom.
  5. Run nano ~/.cfortsv/qtv.conf and edit the settings from top to bottom.
  6. Run nano ~/.cfortsv/qwfwd.conf and edit the settings from top to bottom.
    (Optional: run nano ~/cfortsv/start_servers.sh and edit the settings at the top.)
  7. Run ./start_servers.sh and connect!

Updating your server (Linux only)

  • Update the server/mod/proxy binaries by running ./update_binaries.sh
  • Update the server configuration by running ./update_configs.sh
  • Update the map pack by running ./update_maps.sh
  • Download a specific map (+ its media files) by running ./getmap.sh <map name>

Auto start server (Linux only)

Run crontab -e and add the following line to the bottom of your crontab:

*/5 * * * * /home/<user>/cfortsv/start_servers.sh --silent

This will start your servers (if not already running) once every five minutes. Don't forget to change <user> to your actual user.

Auto update server (Linux only)

You can make the server automatically update itself by putting the following in your crontab:

30 4 * * * /home/<user>/cfortsv/update_configs.sh --silent
45 4 * * * /home/<user>/cfortsv/update_binaries.sh --silent
0 5 * * * /home/<user>/cfortsv/update_maps.sh --silent

Don't forget to change <user> to your actual user.

Rotate logs (Linux only)

Log files can get quite large over time, especially on popular servers. There is a script included in the server pack that allows you to rotate your log files every day, and gzip the old logs to save space. Put the following in your crontab to enable log rotation:

15 5 * * * /home/<user>/cfortsv/rotate_logs.sh

Don't forget to change <user> to your actual user.

Frequently Asked Questions

Q: How do I fix this? "Could not start mvdsv due to 32-bit glibc missing"
A: You need to install 32-bit GNU libraries. There are a few ways to do this:

  • apt-get: sudo apt-get install libc6-i386
  • yum: yum install glibc.i686
  • zypper: zypper in glibc-devel-32bit

If you don't have any package manager, try using Google.

Clone this wiki locally