Skip to main content

Installation

Here is a guide on how to install a server

Manual installation

Windows

download batch file (you will need this for both install types)

.\game\bin\win64\cs2.exe -dedicated +map de_dust2 -port 27015 -maxplayers 32 +sv_setsteamaccount (your server token)

SteamCMD

First download SteamCMD

Put it in a folder where you wanna have your files, then open it

Use the following commands to install your server:

  • force_install_dir myserver this will create a folder called myserver and downloaded files will end up here
  • login anonymous
  • app_update 730
  • quit

Create your own .bat file or download the one above and place it in (your steamcmd folder) and open

Local files

To start a server from the local cs2 installation we need to start

steamapps\common\Counter-Strike Global Offensive\game\bin\win64\cs2.exe

Create your own .bat file or download the one above and place it in steamapps\common\Counter-Strike Global Offensive and open

Linux

For more in-depth guide, please read valve dev wiki/SteamCMD#Linux

The following will be for Ubuntu only

We will be doing a manual installation:

  • sudo apt-get install lib32gcc-s1
  • su - steam
  • sudo -iu steam
  • mkdir ~/Steam && cd ~/Steam
  • curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -
  • cd ~/Steam
  • ./steamcmd.sh

Use the following commands to install your server:

  • force_install_dir myserver this will create a folder called myserver and downloaded files will end up here
  • login anonymous
  • app_update 730
  • quit

download shell script

./game/bin/linuxsteamrt64/cs2 -dedicated +map de_dust2 -port 27015 -maxplayers 32 +sv_setsteamaccount (your server token)

Create your own .sh file or download the one above and place it in (your steamcmd folder) and open

./start_cs2server.sh