Linux dedicated server

From TF2 Wiki

Jump to: navigation, search

Contents

Installation

wget http://www.steampowered.com/download/hldsupdatetool.bin
sudo apt-get install lib32gcc1 (for 64-bit platform)
chmod +x hldsupdatetool.bin

./hldsupdatetool.bin
type yes
chmod +x steam

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

From here: http://forums.srcds.com/viewtopic/5151

Starting

cd orangebox
./srcds_run -console -game tf +ip here -port here +maxplayers 24 +map ctf_2fort

Also from here: http://forums.srcds.com/viewtopic/5151

Tips

  1. The Dedicated Server does not need superuser (root) privileges to install or run. Consider setting up a separate user account for the Dedicated Server (eg. hlds).
  2. If your server is running a 64-bit (AMD64) Linux OS, you might need to install some packages for 32-bit binary compatibility. Under Debian, a simple sudo aptitude install ia32-libs should do the trick.
  3. server.cfg goes in orangebox/tf/cfg. For more information on configuring your dedicated server, see Dedicated server configuration.
  4. Remember to open ports 27000-27015 from your firewall, if you have one.

See also

Personal tools