Please hit the like button if you used this tutorial! It encourages me to make more! Thanks 馃檪

Here is a tutorial on how to install a Team Fortress 2 Server on Linux. The tutorial is using a VPS running on Ubuntu 13.04 32 bit. It is current as of 8/1/2013. It is for SteamCMD, please note any tutorials using HLDSUpdateTool are OUTDATED!

Here is a step by step instruction list:

0) If you are using a 64-bit system, use these commands in root: sudo apt-get install lib32gcc1 ia32-libs (for Ubuntu/Debian/Mint)

for CentOS: yum install libgcc.i686 glibc.i686

1) Connect to your server through SSH or Terminal (do not use the root account)

2) Download the SteamCMD files with wget http://media.steampowered.com/client/steamcmd_linux.tar.gz

3) Extract the SteamCMD files with tar -xvzf steamcmd_linux.tar.gz

4) Run SteamCMD with ./steamcmd.sh

5) Login to an anonymous steam account with login anonymous

6) Force install the directory of the server contents to wherever you want, I used force_install_dir ./tf2/

7) Download the game with app_update 232250

7.5) Validate the files with app_update 232250 validate

8) Type quit to exit SteamCMD

9) Change the directory to where you forced the contents to, so for me cd tf2

10) Start the server!
Standard command: ./srcds_run -game tf -maxplayers 15 +map pl_badwater
Command for running 24/7 even when you are offline: screen -m -S tf2 ./srcds_run -game tf -maxplayers 15 +map pl_badwater

source