Skip to content

Dedicated Server: Setting Up a Counter-Strike: Condition Zero Dedicated Server on Linux

Learn how to set up a Counter-Strike: Condition Zero Dedicated Server on your Linux VPS for seamless gameplay management

12 November 20262 min read55 Views0 helpful

Introduction

Do you have a Linux VPS and want to install the Counter-Strike: Condition Zero 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’ll use Ubuntu as an example, but the process is very similar on other distributions.

Preparation

First, connect to your VPS via SSH. If you need help, see 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.

Installation

Log in as the steam user and switch to the steam home directory to keep everything organized.

Code
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.

Code
steamcmd +force_install_dir '/home/steam/cs-ds' +login anonymous +app_update 90 validate +quit

Please be patient while the download completes—it can take a while for larger games. Once everything is installed successfully, a confirmation message will appear.

Configuration

You’ve now completed the basic installation of your Counter-Strike: Condition Zero server. You can configure 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. Here, you can adjust the server options.

Code
nano /home/steam/cs-ds/cstrike/cfg/server.cfg

Start and Connect to the Server

Now for the main event: start your server. Go to the game’s main directory and run the following startup command:

Code
./hlds_run -game cstrike +maxplayers X +map <map>

You should now see logs in the terminal indicating that the server has started successfully. Note that the first startup may take a little longer while everything is being set up. Alternatively, you can connect directly by using the search at the bottom of the server list and entering [your_ip_address]:2456.

Conclusion

Congratulations! You’ve successfully installed and configured your Counter-Strike: Condition Zero server on your VPS. As a next step, we recommend following our Linux Service Setup guide. It explains how to set up your new Dedicated Gameserver as a service, with benefits such as automatic startup when your server boots, automatic updates, easy management, and access to logs, and much more!

If you have any questions or run into any issues, our support team is here to help every day—don’t hesitate to contact us! 🙂

Free tools

Related tools for servers and developers

View all

FAQ

Frequently asked questions

You need SSH access to your Linux server and a one-time SteamCMD setup (see the “SteamCMD Linux Setup” guide).
As the steam user, run steamcmd +force_install_dir '<pfad>' +login anonymous +app_update 90 validate +quit (Steam app ID 90).

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.