| GNU/Linux Counter-Strike Source Server Tutorial |
| Written by: Rodo Abad | |
| Posted on: Apr 23, 2009 12:00:00 AM | |
|
Page: 1 of 2
Requirements
Let's start things first by being organized. Create a directory named srcds. cd to the srcds directory. Download the hldsupdatetool.bin from SteamPowered.com using wget. mkdir srcds cd srcds wget http://www.steampowered.com/download/hldsupdatetool.bin NOTE: If you can't use wget then it's most likely not installed or your user privilege isn't enough to use wget. If it's the latter, please contact your system administrator about this problem. If however it is not installed and you do have access to the user root, you can just su - to root and install wget from there. Please take note that I am using a Redhat based GNU/Linux distribution for this tutorial so the commands to login to the user root and/or install applications may be different depending on your GNU/Linux distribution. yum install wget
We'll then turn hldsupdatetool.bin into an executable with the chmod command. chmod +x hldsupdatetool.bin
Run hldsupdatetool.bin and just say yes after reading the license agreement. Remember, only say yes if you fully agree on their license agreement. ./hldsupdatetool.bin NOTE: If you receive a uncompress: command not found message it means your GNU/Linux machine does't have uncompress installed. There's an easy work around for this, use the following while logged-in as the user root.
ln -s /bin/gunzip /bin/uncompress We'll then create a directory named cstrike and then move steam to the cstrike directory using the mv command. Then we'll cd to the cstrike directory. mkdir css mv steam css/ cd css/
You need to run steam at least once so that it'll update it self. After that it's ready to install your Counter-Strike Source server files. ./steam
Once steam has updated itself, install the Counter-Strike Source server files with the following command. Go ahead and take a break since it'll take awhile to get done. ./steam -command update -game "Counter-Strike Source" -dir . When you're done installing the Counter-Strike Source files, you can edit or create your server.cfg in srcds/cstrike/cfg/.
|
Counter-Strike Source (abbreviated CSS) is a first-person shooter computer game developed by the Valve Corporation. It is a complete remake of Counter-Strike using the Source engine. This tutorial is written to help users in setting up a Counter-Strike Source game server in a GNU/Linux based machine. This tutorial assumes
that you either have a Windows based or GNU/Linux based machine that
will connect to a GNU/Linux based machine remotely.