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.gitor download the zipball - Run
./start-publicorstart-priv[#](it will be attached to a different screen calledqwtf-puborqwtf-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
screensin 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