Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
50 lines (41 sloc) 2.29 KB
layout title tags published
post
Counter Strike Debian linux server setup
Counter Strike
Debian
true

Counter Strike server setup procedure

Based upon - http://www.cstrike-planet.com/tutorial/1/5 - Props to whoever wrote it!

All you have to do is setup the Counter Strike dedicated server to run on different port/IP addresses.

  1. Create an install directory and dl the installer
  2. Make the installer executable and execute it
    • chmod +x hldsupdatetool.bin
    • ./hldsupdatetool.bin
  3. Agree to the terms and conditions by typing yes and steam will be created in the same directory
  4. Now run the steam installer that will dowload a new version of HLDSUpdateTool
    • chmod +x steam
    • ./steam - it took about 10 minutes for it to update. All depends upon the steam server loads.
  5. We are now ready to download and install Counter Strike Source. The install size is ~ 1.1GB uncompressed.
    • ./steam -command update -game _Counter-Strike Source_ -dir .
  6. The server is now ready for various customizations.

Counter Strike 1.6 linux dedicated server

Based upon - http://www.cstrike-planet.com/tutorial/1-Linux-Install-CS-16/6

  1. Repeat steps 1-5 in previous installation but in different root directory. so instead of srcds let's put the installation in hlds. Step 2 of the previous method should this time be:
    • mkdir hlds
    • cd hlds
  2. Run the various steps outlined above, and now to install the (~360MB) cstrike1.6 linux dedicated server.
    • ./steam -command update -game cstrike -dir

Q and A time

  1. How can I keep hlds running while I am not logged into the server with SSH?
    • Start your dedicated server with screen: screen -S hlds ./hlds_run. And then when you want to access the running server process once logged back in: screen -r hlds.
  2. How many CS virtual servers can I get on one machine?
  3. What does the tickrate have anything to do with anything? What is it?