Creating a Counter-Strike Server on Linux


From www.cstrike-planet.com:

On this page we will explain how to install Counter-Strike and Counter-Strike: Source. We assume you have some Linux knowledge. We will start with Counter-Strike: Source.

Counter Strike SourceInstalling Counter-Strike: Source (SRCDS)

First, lets create a directory where we will run the hldsupdatetool, run the following command:

code:
mkdir srcds

Now we switch to the srcdswe just created and download the hldsupdatetool.bin

If all goes well you should now have the hldsupdatetool.bin in the srcds directory. Now we change the permission of hldsupdatetool.bin so we can execute it and extract the contents from hldsupdatetool.bin

code:
chmod +x hldsupdatetool.bin ./hldsupdatetool.bin
Note: after you run ./hldsupdatetool.bin you will get a prompt to agree with the terms and conditions, simply type yes and hit enter.

If all goes well, you should now have two files in the srcds directory, the hldsupdatetool.bin which we downloaded earlier, and a steam file the hldsupdatetool generated, this is the file we will use to install Counter-Strike: Source.

Note: if you receive a ‘uncompress: command not found’ message it means your server does not have uncompress installed. You have two options to easily work around this, try the following while logged-in as root:

code:
ln -s /bin/gunzip /bin/uncompress

Then try to run ./hldsupdatetool.bin again. If that does not work, or you do not have root privileges you can download the binary file we have available:

Now that you have the steam binary file, Type the following command to begin installing CS Source

Read full story.

Advertisement

One thought on “Creating a Counter-Strike Server on Linux

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s