Installing Half-Life 2 DeathMatch Dedicated Server
|info:||Download steam-boiler_ to install steam and boiler.|
|description:||Linux Reference Manual|
Typical Installation in 3 Easy Steps
Assuming you have installed :doc:`Steam-Boiler <install-steam-boiler>` and have logged in to a normal user account. The following shell session demonstrates how a typical installation is accomplished. Open a shell terminal and follow these steps.
1. Make directory (if required) and change directory to where user gameserver downloads are to be stored. Here we call it 'Gameserver'.
- $ mkdir -pv ~/Gameserver/srcds
- $ cd ~/Gameserver
- Download dedicated server files from Valve content servers.
- $ steam -command update -game hl2mp -dir ~/Gameserver/srcds
Using :doc:`Steam-Boiler <man-boiler>` simplifies the command-line to steam update hl2mp ~/Gameserver/srcds instead of steam -command update -game hl2mp -dir ~/Gameserver/srcds.
3. Change directory to where the run-script is located and test the dedicated server.
- $ cd ~/Gameserver/srcds/orangebox
- $ ./srcds_run -game hl2mp +map dm_lockdown +ip 0.0.0.0
Use CTRL-C to exit...