Top navigation Players Awards Media Partners About
Change skin White Black
Partners
Time:   22:44:24 CET   13:44:24 PST   16:44:24 EST   05:44:24 Seoul   04:44:24 Beijing

BLOGS
How to install a CS:S dedicated server on linux

By Артур 'Art4k' 'Art4k' Ластовский
Oct 2, 2008 22:48



Step by step.
Now, terminal time bitches! find it, open it or ssh it!

Now because were cool, and want to keep out server up to date, were going to update our server with the latest patches and hot fixes..
Code:

sudo apt-get update

Right, now that’s done lets get started.
1)
Were going to need all the files for running the server, lucky for us there’s hldsupdatetool by Valve themselves, this will download the half-life source engine (and CS:S) files for running our server, so lets create a directory and download the update/download tool:
Code:

mkdir msds
cd msds
wget http://www.steampowered.com/download/hldsupdatetool.bin
chmod +x hldsupdatetool.bin
./hldsupdatetool.bin
./steam

2)
Now we have our hldsupdatetool, we can download all the files, bear in mind this might take a while.. i just checked and after an install and basic mods my servers averaging 1.03 GB minus extra maps!
Code:

./steam -command update -game "Counter-Strike Source" -dir .

3)
Were going to need a configuration file, so Lets generate one And put it in msds/cstrike/cfg/server.cfg
Now, guess what, we have a basic server ready! Lets run this =]
Code:

./srcds_run -console -game cstrike +map de_dust -maxplayers 16 –autoupdate

Now hopefully, your source dedicated server is updated running & dandy, to see if you have been registered onto the main steam servers, you should see this near the end of your terminal window:
Code:

Adding master server 72.165.61.189:27011
Adding master server 68.142.72.250:27011
Connection to Steam servers successful.

If your on the same LAN as your server machine boot up steam, go-to servers then LAN, and there’s your server! Wow! We can jump in and try it out!

4)
Tracking Server stats, and getting your friends to join your server, first of all, you need your external IP, you can get this by going say here and you can give that ip to a friend or whoever, and they can search for your server via “favourite servers” instead of tralling through the thousands of other games!
And the easiest way to track your server stats is to use gametracker Sign up for a free account and add your server details!

Loading comments...

Partners