Linux Counter-Strike 1.6 Server
This Guide is written for help with installing the new steam linux 1.6 server.It will take you step by step through the installation until you have a basic Counter-Strike server running.
Acces to Linux server with ssh, or your own server with a keybord.
An Internet connection on the linux server.
An homedir where you have write acces.
Enough space on your hard drive, 600Mb At least.
wget or an ftp program.
Gzip unpack program.
Ok, Lets get started.Go to your homedir and lets make a new dir for the server, and then go into that dir.Should you already have a installation you want to update, just use the hlds_l dir you using now
Now lets go in the dir.
Now we are going to download the steam install files (file is called steam) I use wget here to get the file.If you are having problems downloading this file from this location there are some mirrors listed at the bottom of this page.if your linux doesnt have wget, use the http/ftp program provided with your distribution to get it.
We now have the file we need, now lets unpack it!
tar -zxvf steam.tar.gz
Now make sure it executable.
chmod +x steam
now lets runs steam:
it will response with:
Checking bootstrapper version …
Getting version X of Steam HLDS Update Tool
Downloading. . . . . . . . . . .
Steam Linux Client updated, please retry the command
So we now have an updated steam client, cool huh now lets get those server files.
./steam -command update -game (game) -dir /path/to/your/hlds_l
As you can see we can choose our game, install dir. The install dir is the path to the hlds_l dir we made in the beginning, ill use /home/jap/hlds_l as an example.
./steam -command update -game cstrike -dir /home/jap/hlds_l
if you typed it correctly it will response with:
No installation record found at /home/jap/hlds_l
Checking/Installing ‘Counter-Strike Base Content’ version XX
It will now start downloading files, go and watch tv, come chat in the irc channel, it will take some time.Dont worry about the no installation record found error, its just an message that it didnt found any installion, since its the first time
If steam is done downloading all those files, you will be back at the prompt, and you basicly now have an ready to use cs serveryou can test the server if it works with:
./hlds_run -game cstrike +map de_dust -autoupdate
This wil run the most basic cs server with the map de_dust.The option -autoupdate will make sure that if there is a Counter-Strike game update that it wil download it Automaticly
Because we made steam remember our password, all we need to do to update next time is run:
./steam -command update -game (game)
Thats all, How to config the server, thats all up to you, that im hoping, i dont need to explain.I wish you best of luck with your new Dedicated Linux Counter-Strike Server!I would like to thank the whole valve team for 2 things, this linux version, and the use of their Readme file while creating this guide!
If you like my work, and want to support me you could donate a little thank you to my paypal on the top left menu! it helps me keep this page available for you guys!
Also if you have any questions or you just want to chat, join us on irc:
for server problems/questions:
#counter-server on Gamesurge
or for chatting:
#steam-hangout on Gamesurge