Do you have a Linux VPS and want to install the Counter-Strike 1.6 Dedicated Server on it? You’re in the right place. In this guide, we’ll walk you through installing this service on your Linux server with SteamCMD. We use Ubuntu as an example, but the process is very similar for other distributions.
First, connect to your VPS via SSH. If you need help, follow our SSH Getting Started guide. You’ll also need to set up SteamCMD on your Linux server the first time you use it. Follow our SteamCMD Linux Setup guide, and make sure SteamCMD is fully set up before continuing.
Log in as the steam user and switch to the steam user’s home directory to keep everything organized.
sudo -u steam -s
cd ~
Once you’re logged in, start the installation with the following command. It uses SteamCMD to install the server directly in the steam user’s directory:
steamcmd +force_install_dir '/home/steam/cs-ds' +login anonymous +app_update 90 validate +quit
Please be patient while the download completes—it may take a while for larger games. If everything worked, you’ll see a confirmation message.
You’ve now completed the basic installation of your Counter-Strike 1.6 server. You can change additional server settings directly in the startup file.
Go to your root directory, then navigate to the cfg folder and open the server.cfg file. You can adjust the server options here.
nano /home/steam/cs-ds/cstrike/cfg/server.cfg
To let other players join your server, you’ll need to generate and add a Game Server Login Token (GSLT). This token authenticates your server with Steam. Create your GSLT at http://steamcommunity.com/dev/managegameservers using Game ID 90, which is for Counter-Strike 1.6.
Then add the token to your server startup parameters with +sv_setsteamaccount <TOKEN>.
Now for the main event: start your server. Go to the main game directory and run the following startup command:
./hlds_run -game cstrike +maxplayers X +map <map>
You should now see logs in the terminal confirming that the server started successfully. Note that the first startup may take a little longer while everything is set up. Alternatively, you can connect directly by searching for [deine_ip_adresse]:2456 in the search bar at the bottom of the server list.
Congratulations, you’ve successfully installed and configured your Counter-Strike 1.6 server on your VPS! As a next step, we recommend following our Linux Service Setup guide, which shows you how to set up your new Dedicated Gameserver as a service. This offers many benefits, including automatically starting the server at boot, automatic updates, easy management, and access to logs—and much more!
If you have any questions or run into issues, our support team is here to help every day—don’t hesitate to contact us! 🙂