This guide documents the use of the automated script (hlds-ubuntu24-installer.sh) designed to simplify the initial setup and configuration of a Counter-Strike 1.6 Dedicated Server on **Ubuntu Server 24.04 LTS**.
This automated method covers all prerequisite steps, dependency installation, library fixes, and core server downloads (Steps 1 through 4.2 in the manual tutorial), ensuring a seamless deployment.
sudo privileges.The installer script handles the system dependency setup and server file installation automatically.
Execute these commands as a sudo user.
# Download the installer script
wget "https://raw.githubusercontent.com/comgunner/cs-16-server-ubuntu/refs/heads/main/hlds-ubuntu24-installer.sh"
# Grant execution permissions
sudo chmod +x hlds-ubuntu24-installer.sh
Executing the script will install all 32-bit libraries, download SteamCMD and the server package, and apply compatibility fixes.
# Run the automated installer
sudo ./hlds-ubuntu24-installer.sh
The installer performs the following essential tasks:
i386 architecture and all required 32-bit compatibility libraries.steamclient.so symbolic link and standard library patches).systemd service installer script (but does **not** enable the service yet).To enable support for both Steam and Non-Steam clients (Protocol 47/48), execute the script with the --no-steam flag after the initial setup is complete.
sudo ./hlds-ubuntu24-installer.sh --no-steam
dproto.cfg and configures the server for dual protocol handling.
After the automated script finishes, the service installer is located in the user's home directory. Run this script to create and enable the robust systemd service unit.
Execute this as a sudo user.
sudo /home/csserver/install_cstrike_service.sh
Use standard systemctl commands to manage the server process:
sudo systemctl start cstrike
sudo systemctl stop cstrike
sudo systemctl restart cstrike
sudo systemctl status cstrike
This automated script complements the official SourceForge documentation. For manual steps or troubleshooting details, refer to the main guide.
Source Code Repository: https://github.com/comgunner/cs-16-server-ubuntu
Official SourceForge Documentation: https://sourceforge.net/p/cs16serverpreconfiguredlinux/wiki/Ubuntu24_HLDS_Install/