Flag This Hub

Counter-strike server installation

By


Hello,

I tell how to install counter-strike server on Linux.
Writing lesson on Debian distribution.

starting need get gdb pack (for debug)

apt-get install gdb

Now need to make folder and go into

mkdir /usr/hlds
cd /usr/hlds

Now need download hlds update tool

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

Now give HLDS Update Tool run right

chmod a+x hldsupdatetool.bin

Run hlds update tool

./hldsupdatetool.bin

when you run it you need to write "yes"
now you need to update tool

./steam

now you can install (download) cstrike game :)

./steam -command update -game cstrike -dir /usr/hlds -retry -verify_all

If you get it :

ownloading. . . . . . . . . . . .Steam Linux Client updated, please retry the command
CAsyncIOManager: 0 threads terminating.  0 reads, 0 writes, 0 deferrals.
CAsyncIOManager: 21 single object sleeps, 0 multi object sleeps
CAsyncIOManager: 0 single object alertable sleeps, 0 multi object alertable sleeps

write again :

./steam -command update -game cstrike -dir /usr/hlds -retry -verify_all

If you get something like:

Checking bootstrapper version ...
Updating Installation
No installation record found at /usr/hlds
No installation record found at /usr/hlds
No installation record found at /usr/hlds
Checking/Installing 'Counter-Strike Base Content' version 35

0.16%   downloading /usr/hlds/cstrike/cl_dlls/client.dll
0.16%   downloading /usr/hlds/cstrike/classes/ak47.res
0.16%   downloading /usr/hlds/cstrike/classes/arctic.res
0.16%   downloading /usr/hlds/cstrike/classes/aug.res
0.16%   downloading /usr/hlds/cstrike/classes/autoselect_ct.res
0.16%   downloading /usr/hlds/cstrike/classes/autoselect_t.res
0.16%   downloading /usr/hlds/cstrike/classes/awp.res
0.16%   downloading /usr/hlds/cstrike/classes/cancelbutton.res
0.16%   downloading /usr/hlds/cstrike/classes/default.res
0.16%   downloading /usr/hlds/cstrike/classes/defuser.res
0.16%   downloading /usr/hlds/cstrike/classes/deserteagle.res

ALL IS OK !

when you get something like :

99.03%  downloading /usr/hlds/valve/titles.txt
99.03%  downloading /usr/hlds/valve/user.scr
99.03%  downloading /usr/hlds/valve/valve.rc
99.03%  downloading /usr/hlds/valve/valvecomm.lst
100.00% downloading /usr/hlds/valve/xeno.wad

Connection Reset, errno 104 "Connection reset by peer"
CAsyncIOManager: 0 threads terminating.  0 reads, 0 writes, 0 deferrals.
CAsyncIOManager: 71 single object sleeps, 0 multi object sleeps
CAsyncIOManager: 0 single object alertable sleeps, 0 multi object alertable sleeps

Game istalled

Now we need make necessary folders :

touch /usr/hlds/cstrike/listip.cfg
touch /usr/hlds/cstrike/banned.cfg
mkdir -p /usr/hlds/./valve/SAVE
mkdir -p /usr/hlds/./platform/SAVE

now you need go (when other time you log in to putty) :

cd /usr/hlds

AND NOW YOU CAN !
Open server on vps :

./hlds_run -binary ./hlds_i686 -game cstrike -debug +log on +maxplayers 20 +map de_dust +ip SERVER_IP +port 27015 +sv_lan 0 &

Comments

No comments yet.

Submit a Comment
Members and Guests

Sign in or sign up and post using a hubpages account.



    Like this Hub?
    Please wait working