Guide – How To Start – Team Fortress 2 Game Server on Ubuntu 18.04 LTS

Team Fortress 2 online first-person shooter, where two opposing teams compete for a combat-based objective. Players can choose to play as one of nine character classes in these teams, each with his own unique strengths, weaknesses, and weapons.

This is a quick deployment and ready-to-run image.
Simple and rapid installation. Easy to maintain.

How to create and connect to Team Fortress 2 Game Server on Ubuntu

  1. To start the server, you just need to start the VM through Azure Portal.
  2. To configure the server, you should connect to the VM and call the game console. To connect, you need PuTTy application to connect via ssh. You can download it at the following link – Download.
  3. Run Putty, enter the VM address in the “Host” field, and click “Open” to connect.
  1. In the opened console it is necessary to enter a username and password that were specified while creating the virtual machine.
  2. Run the following commands, to open the game console:

> sudo su
> screen -r

To exit the console correctly, use the Ctrl + A key combination, then releasing only the A button, press D on the keyboard.

  1. To connect to the server, start the “Team Fortress 2” game on your PC, open the console with the “~” key on your keyboard, write connect %vm_adress% and press “Enter” to connect. For example: connect 127.0.0.1

Server update

If you were unable to connect to the server, you should update the server. To do this, connect to the VM through PuTTY and do the following:

  1. First of all, you must stop the server, you can do this using the following commands:

> sudo su (If you haven’t run this command before)

> systemctl stop tf2

  1. Enter the following commands in sequence:

>/home/steamuser/steamcmd

> login anonymous

> force_install_dir /home/steamuser/tf2server

> app_update 232250 validate

> exit

> cd /home/steamuser

> chown -R steamuser:steamuser tf2server

> systemctl start tf2

WordPress.com.

Up ↑

%d bloggers like this: