It is not recommended anymore to use HLDSUpdateTool to set up and update your Counter Strike server, it will give you a deprecated version of the server since Valve has moved his games to SteamPipe.

I will explain in this short tutorial how to set up your Counter Strike server using the new Valve bootstrap: SteamCMD.

Step 1: Your server

I am making the assumption that you have a dedicated server (virtual or not), with shell and root access. If you don't have root access, I assume that you have at least shell access, possibility to open ports, and 32bit libraries installed.

Make a new user and "su" it:adduser --disabled-login steamsu steam
cd /home/steam

You should NEVER run a server with root user, every time you want tot start your server, do a "su steam" or log in with this user before. If you want to log in with the steam user, remove the --disabled-login from command line when creating it.

Step 4: Download and install SteamCMD

Create a new directory and use it as your current directory:mkdir steamcmd && cd steamcmd

Get the SteamCMD binary:wget http://media.steampowered.com/client/steamcmd_linux.tar.gz

Extract the tarball:tar -xzf steamcmd_linux.tar.gz

Run the steamcmd binary, it will update:./steamcmd.sh

Step 5: Download the Counter Strike server

The command line will force the installation directory in a separate directory. It prevents messing with SteamCMD directories when you configure and start the game server.

Of course, you can change the name of the installation directory. Just don't forget the ../ before the folder name to install it in the upper directory, otherwise you will mess your SteamCMD installation with game files.

Use the same command to update your server when needed.

Step 6: Configure your server

I can't learn you anything here: just place your server.cfg, mods, and maps accordingly in the installation folder.