NSTALLATION – LINUX
1) adduser hlds && passwd hlds
2) su hlds
3) cd ~
4) wget http://www.steampowered.com/download/hldsupdatetool.bin
5) chmod +x hldsupdatetool.bin && ./hldsupdatetool.bin
5a) If you see an error about not finding /bin/uncompress type ln -s /bin/gunzip /bin/uncompress && ./hldsupdatetool.bin
6) ./steam -command update -game gamename -dir ~/hlds -username yoursteamaccountgoeshere -password yourrealpasswordgoeshere
6a) Replace gamename above with one from this list:
** ‘game’ options for Source DS Install:
“Counter-Strike Source”
“ageofchivalry”
“diprip”
“dods”
“dystopia”
“episode1″
“esmod”
“garrysmod”
“hl2mp”
“insurgency”
“l4d_full”
“left4dead”
“orangebox”
“smashball”
“synergy”
“tf”
“zps”
** ‘game’ options for HL1 DS Install:
“cstrike”
“cstrike_beta”
“czero”
“dmc”
“dod”
“gearbox”
“ricochet”
“tfc”
“valve”
** ‘game’ options for Third-Party game servers:
“ageofchivalry”
“darkesthour”
“darkmessiah”
“defencealliance2″
“diprip”
“dystopia”
“esmod”
“garrysmod”
“insurgency”
“killingfloor”
“marenostrum”
“redorchestra”
“ship”
“sin”
“smashball”
“synergy”
“tshb”
“zps”
———-
CONFIGURATION
1) Edit ~/hlds/gamename/server.cfg (replace gamename with whatever you used before)
***This is where your server variables are stored. Reference the http://server.counter-strike.net config editor for easy coverage of the common ones.
2) Edit (nano or pico) ~/hlds/gamename/motd.txt (replace gamename with whatever you used before)
***This file contains the message people see when they first connect. HTML is acceptable and used by default.
3) Edit (nano or pico) ~/hlds/gamename/mapcycle.txt (replace gamename, as usual)
***This is a file containing the maps your server will play, one on each line.
CONFIGURATION – LINUX (Counter-Strike Source)
Same files as HL1, different locations:
1) Edit ~/hlds/cstrike/cfg/server.cfg
2) Edit ~/hlds/cstrike/motd.txt
3) Edit ~/hlds/cstrike/mapcycle.txt
STARTING THE SERVER
1) cd ~/hlds
2) ./hlds_run -game gamename +maxplayers number +map ******* &
EXAMPLE: ./hlds_run -game cstrike +maxplayers 20 +map de_dust +ip 1.1.1.1 +port 27015 &
***Many more things can be specified here. See the http://server.counter-strike.net config editor for all possible options. Anything here takes precedence over settings in server.cfg