Friday, 10 April 2009

How to Install Counter Strike Server on Linux ! (Non Steam)

This guide will explain you how to run Counter strike server on linux

Linux can reduce lag,handle high rates & pingboost the server.
I assume you have some knowledge of linux & have uncompress installed
Open console
Type following
-----------------

mkdir HLDS

cd HLDS

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

chmod +x hldsupdatetool.bin

./hldsupdatetool.bin

-----------------------
After we launch hldsupdatetool.bin ,it will ask to agree with terms & conditions,just type YES & press ENTER

then type this
---------------------

chmod +x steam

./steam -command update -game cstrike -dir .

------------------------
Counter strike server is being installed
http://www.cstrike-planet.com/images/tutorial/t1-13.jpg

It will take sometime depending on your connection as it has to download ~300mb

When is server downloaded.you should launch it with these parameters

-console
Starts server in console mode

-autoupdate
Automatically update the server when Steam updates are released

-game
The HLDS mod you want to run

+maxplayers
Amount of players to allow

+map
The map to start the server with

-port
Port on which server will run. Default is 27015

Type this in console to run server in background


./hlds_run -game cstrike -autoupdate +maxplayers 20 +map de_aztec > /dev/null 2>&1 &

You can change the appropriate parameter like players & map

"> /dev/null is" at the end will send no output
"&" at the will run server in background

NOTE: To boost server performance,you can pingboost server. Add -pingboost 1 or 2 or 3 in command line.

3 will consume more CPU

'MyFreeCopyright.com

0 comments:

Post a Comment