Tag Archives: team fortress 2

Setting up a Team Fortress 2 Server on Ubuntu

The install will take a while.  Near the end, we’ll end up downloading a 3.5 GB file.  I recommend screening the session, so you can close it when it starts the download and return to it later.

screen

Download the install file:

wget http://www.steampowered.com/download/hldsupdatetool.bin

Give permissions to execute, and execute it
This will download hldsupdatetool.bin to your current directory. Next we need to give this file execute permissions and the run it.

chmod +x hldsupdatetool.bin
./hldsupdatetool.bin

Run the Steam server to pick up any new Steam updates:

./steam

Once updated, run the Team Fortress 2 server to download the TF2 server updates (this is where screen sessions become handy):

./steam -command update -game tf -dir .

Once the TF2 server downloads and updates, it’s time to setup the configuration. Here’s a link to get you started.

http://www.dodbits.com/dods/index.php/tf2/66-team-fortress-cvars-september-2011

Now we start it:

./srcds_run -game tf +map ctf_2fort

And there you go! A simple way to start your own TF2 Server!