Blog by Andreas Glaser

Linux commands to install a CounterStrike Linux Server

by Andreas Glaser on Nov.11, 2008, under Computer, Gaming, Linux, Operating system

Step 1
We need the hldsupdatetool (Half Life Dedicated Server Update Tool).

Command:

1
wget http://storefront.steampowered.com/download/hldsupdatetool.bin

Output:

1
2
3
4
5
6
7
8
9
10
--2008-11-11 09:14:51--  http://storefront.steampowered.com/download/hldsupdatetool.bin
Resolving storefront.steampowered.com... 87.248.218.141, 87.248.218.161
Connecting to storefront.steampowered.com|87.248.218.141|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3513408 (3.4M) [application/octet-stream]
Saving to: `hldsupdatetool.bin'
 
100%[====================================================================================================================>] 3,513,408   9.69M/s   in 0.3s
 
2008-11-11 09:14:52 (9.69 MB/s) - `hldsupdatetool.bin' saved [3513408/3513408]

Step 2

Now we have to grand the owner of the file read/write/execute (rwx) permission.

Command:

1
chmod u+x hldsupdatetool.bin

Output:

1
None

Step 3

The time has come to run the hldsupdatetool.bin

Command:

1
./hldsupdatetool.bin

Output:

1
...I hereby agree to be bound by the Agreement.  I also acknowledge and agree that this Agreement (including the Subscription Terms, Steam Online Conduct rules and other Rules of Use, and Privacy Policy) is the complete and exclusive statement of the agreement between Valve and me, and that the Agreement supersedes any prior or contemporaneous agreement, or other communications, whether oral or written, between Valve and myself.

Enter ‘yes’ to accept this agreement, ‘no’ to decline:

Step 4

You have to accept the agreement with writing and confirming the word “yes”

Command:

1
yes (return)

Output:

1
extracting steam.tar.Z...done

Step 5

Finally we can start to install the actual CounterStrike Source Linux Server.

Command:

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

Output:

1
2
3
4
Checking bootstrapper version ...
Getting version 34 of Steam HLDS Update Tool
Downloading. . . . . . . . . . .
Steam Linux Client updated, please retry the command

Step 6

The fifth command once again… this last command will take a while to execute… depending on your Internet bandwith.

Command:

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

Output:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Checking bootstrapper version ...
Getting version 34 of Steam HLDS Update Tool
Downloading. . . . . . . . . . .
Steam Linux Client updated, please retry the command
root1:/home/gaming/css-rotate# ./steam -command update -game "Counter-Strike Source" -dir .
Checking bootstrapper version ...
Updating Installation
No installation record found at .
No installation record found at .
No installation record found at .
No installation record found at .
No installation record found at .
Checking/Installing 'Counter-Strike Source Shared Content' version 69
 
0.57%   .\cstrike\bin\server.dll
1.96%   .\cstrike\bin\server_i486.so
1.96%   .\cstrike\cfg\buypresetsdefault_ct.vdf
1.96%   .\cstrike\cfg\buypresetsdefault_ter.vdf
1.96%   .\cstrike\cfg\game.cfg
1.96%   .\cstrike\cfg\skill1.cfg

Thats it… the server is now installed.

So long,
Andreas Glaser

:, , , , ,
No comments for this entry yet...

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...