Setting Up a Source Dedicated Server
Here I demonstrate how to get a Source Dedicated Server up and running (in this case, Team Fortress 2) with Rackspace Cloud Servers.
View in full screen for the full awesome HD experience.
Here’s a very basic server.cfg
hostname My Test TF2 Server
rcon_password myrconpassword
sv_lan 0
That should be enough to get your server up and accessable through the video provided. You can view a full list of all 2281 cvar here. Note server commands begin with sv_, multiplayer commands begin with mp_, and client commands begin with cl_. For a server, you main concern is server and multiplayer commands, as client commands only effect the client they’re ran on and not the clients that connect to the server.
Basic screen commands
screen – Use Screen
screen -ls – List previous screen sessions
screen -r id – Reonnect to a dropped session (if ID is omitted it will reconnect to the last screen session it can)
screen -D id – Disconnect an attached session (used if your connection drops and it still shows you as attached)
Ctrl+A C – Creates a new window
Ctrl+A N/P – Go to the Next/Previous Window
exit – Closes a window
Ctrl+A D – Detaches from a screen session
For more information about Screen you can type ‘man screen’ in console to get a more in-depth manual on the program.

Pingback: Setup a Source Dedicated Server | Ryan Kearney