SRCDS Steam group


linux install quicky
#1
Some people say update the guide, well there is not much to update.

This is the basics.

Keep in mind it is recommended that you do NOT do this as root. Please create a normal user.

First off, get the steam binary.

Code:
wget http://www.steampowered.com/download/hldsupdatetool.bin

then you need to make it an executable and then run it to extrct the steam binary by doing
Code:
chmod +x hldsupdatetool.bin && ./hldsupdatetool.bin

Upon hitting enter, 1 of 2 things will happen. 1 will be that you can't find uncompress
Quote:sh: uncompress: command not found
or you'll get the agreement. To fix the issue with uncompress, you can either install ncompress or you can try doing this
Code:
ln -s /usr/bin/gunzip /usr/bin/uncompress
then try doing
Code:
./hldsupdatetool.bin
again.
once thats done you should now get the agreement.

when the agreement prints type in
Quote:yes
you should then see
Quote:Enter 'yes' to accept this agreement, 'no' to decline: yes
extracting steam.tar.Z...done

next i recommend creating a directory, i normally use srcds or srcds_l
Code:
mkdir srcds && mv steam srcds && cd srcds

what that did was create your srcds directory and move the steam binary into it. now its time to run the binary.

This is the part where you install the game itself.

This example is for counter-strike: source.
Code:
./steam -command update -game "counter-strike source" -dir .

Once you run that you should see something like
Quote:cryotek@pheonixfire$ ./steam -command update -game "counter-strike source" -dir .
Checking bootstrapper version ...
Updating Installation
No installation record found at .
Checking/Installing 'Counter-Strike Source Shared Content' version 38

It'll now down load the files for counter-strike source which is roughly about 800MB so might as well make a sandwich or something.

Thats it, the rest is up to you. all you have to do is configure it, and configure your router if you're doing this from a LAN.

By default there is no server.cfg you must create this yourself. cstrike planet has a cfgmaker you can find here: http://www.cstrike-planet.com/cfgmaker?cfg=srcds

Its very easy to use, just fill in the values and click generate, copy the results and paste them intp server.cfg using your favorite editor. make sure the file is server.cfg and nothing like server.cfg.txt and place it in cstrike/cfg folder.

Sorry for not mentioning this earlier.
[Image: userbar_wow.jpg]
starting 9/24/2006 if your problem has been solved please edit your first post and add [solved] to the begining of the title. Thanks.
Reply
#2
We'd be greatfully appreceate if there was a DoD:S Dedicated Server installation tutorial under linux. If needed I could translate it into russia and place it on my clan home-site, youre author rights would be reserved.
Reply
#3
I'm quite sure it'd be pretty much the same thing.
[Image: userbar_wow.jpg]
starting 9/24/2006 if your problem has been solved please edit your first post and add [solved] to the begining of the title. Thanks.
Reply
#4
The quicky is rather quick. Those are sadly the easy parts and some help is needed or referred to in how to actually configure the server. For instance, in the quick guide it says "create or edit the server.cfg file however you want." Smile I'm pretty sure there is probably a preferred format. Smile
Reply
#5
LeGionKeiN Wrote:We'd be greatfully appreceate if there was a DoD:S Dedicated Server installation tutorial under linux. If needed I could translate it into russia and place it on my clan home-site, youre author rights would be reserved.
Code:
./srcds -command update -game dods -dir .
Reply
#6
digant Wrote:The quicky is rather quick.  Those are sadly the easy parts and some help is needed or referred to in how to actually configure the server.  For instance, in the quick guide it says "create or edit the server.cfg file however you want."  Smile  I'm pretty sure there is probably a preferred format. Smile

yeah.. I would like to have a default server.cfg if there is to find?
or maybe someone who could post their server.cfg??

// Chris
Reply
#7
http://www.cstrike-planet.com/cfgmaker?cfg=srcds

This will help you out, enjoy =]
[Image: userbar_wow.jpg]
starting 9/24/2006 if your problem has been solved please edit your first post and add [solved] to the begining of the title. Thanks.
Reply
#8
cryotek Wrote:http://www.cstrike-planet.com/cfgmaker?cfg=srcds

This will help you out, enjoy =]

thank you very much!
just read it in another thread, so I'm sorry about posting here..
but however, all info should be in a sticky Wink

great site though!
thank you all!
Reply
#9
Yeah, i edited my original post and added it. Keep coming back and things will get better and more organized!
[Image: userbar_wow.jpg]
starting 9/24/2006 if your problem has been solved please edit your first post and add [solved] to the begining of the title. Thanks.
Reply
#10
PLeas tell me what ido wrong. i have indstalled the counter-strike source.

Her what i get when i am trying to run counter strike source:
css = the folder i have installed counterstrike source.

/css/srcds$ ./srcds_run -game Counter-Strike source -secure -autoupdate -port 27012 +maxplayers 24 +map de_dust2
Invalid game type 'Counter-Strike' sepecified.
Sun Oct 22 08:50:57 CEST 2006: Server Failed


Edit:
I used cstrike and it works for me. i read some where in other forums i must use counter-strike source. Big Grin
Reply
#11
-game "counter-strike source" only works with the steam binary when updating, you must use cstrike.
[Image: userbar_wow.jpg]
starting 9/24/2006 if your problem has been solved please edit your first post and add [solved] to the begining of the title. Thanks.
Reply
#12
[root@zhkdld05 hlds]# ./steam -command update -game cstrike -dir .
Checking bootstrapper version ...
Failed to connect to any GeneralDirectoryServer

Please Help Me
Reply
#13
[root@zhkdld05 srcds]# ./steam -command update -game "counter-strike source" -dir .
Checking bootstrapper version ...
Failed to connect to any GeneralDirectoryServer

The Smae Problem Sad
Reply
#14
I use a script for updating it once it's installed.

Create the file "updatehl2.sh" and make it executable.
Put this in it and modify it to your needs, ie; change it's location.

Code:
#!/bin/sh
echo "updating HL2 Server"
sleep 1
./steam -command update -game "hl2mp" -dir /home/yourusernamehere/hl2mp

Run from a terminal, let it finish, run it again to make sure it's really up to date. Done.

Untip, this might be what you're missing and the reason for the error you get. And WHY are you doing that as root? Read the 3rd line of the very first post.
Reply
#15
I have never used linux and only installed it because windows would not install, how do you make something an executable. What is a dir and how do you make one. I have suse linux 9.1
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)