This repository has all the files needed to run a Team Fortress server on a Linux machine.
- Clone this repo
git clone https://github.com/rictorres/quake-team-fortress-server.git
or download the zipball - Run
./start-public
orstart-priv[#]
(it will be attached to a different screen calledqwtf-pub
orqwtf-priv[#]
, useful if you're using SSH) - Profit!
- Linux 32-bit server (preferably Ubuntu)
- SSH
- Screen
$ sudo apt-get update
$ sudo apt-get install screen
$ chmod 755 start-public
$ chmod 755 start-priv1
$ chmod 755 start-priv2
-
Public server (default port 27500)
./start-public RUNNING TEAM FORTRESS PUBLIC SERVER ON PORT 27500
-
Private server (default port 27501)
./start-priv1 RUNNING TEAM FORTRESS PRIVATE SERVER ON PORT 27501
The above commands will first execute ./fortress/server.cfg
and then a specific config for each server (public or private)
You can edit start-public
and start-priv[#]
as needed.
- To get a list of
screens
in use:$ screen -list
- To re-attach the screen
$ screen -r qwtf-pub
- To detach the screen and go back to your original SSH session
CTRL + A + D