| GNU/Linux Counter-Strike 1.6 Server Tutorial |
| Written by: Rodo Abad | |
| Posted on: Jan 09, 2009 10:00:00 PM | |
|
Page: 1 of 2
Requirements
Let's start things first by being organized. Create a directory named hlds. cd to the hlds directory. Download the hldsupdatetool.bin from SteamPowered.com using wget. mkdir hlds cd hlds 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 cstrike mv steam cstrike/ cd cstrike/
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 1.6 server files. ./steam
Once steam has updated itself, install the Counter-Strike 1.6 server files with the following command. Go ahead and take a break since it'll take awhile to get done. ./steam -command update -game "cstrike" -dir . When you're done installing the Counter-Strike 1.6 files, you can edit or create your server.cfg in hlds/cstrike/.
|
Counter-Strike 1.6 is a tactical first-person shooter video game which originated from a Half-Life modification by Minh "Gooseman" Le and Jess "Cliffe" Cliffe. This tutorial is written to help users in setting up a Counter-Strike 1.6 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.