To play Counter-Strike: Global Offensive with friends, you need to find and set up a dedicated server. Note that a virtual server is not suitable for CS GO, because it requires serious resources. For example, the server part of CS takes 25 GB. Plus it is important to choose a data center located closest to the server, so that there was a normal ping. To play CS GO you need powerful hardware that can handle the loads.
Before ordering, pay attention to the characteristics:
The operating system can be any. In the example we work with Ubuntu 20.04 LTS.
You have created a server for Counter-Strike: Global Offensive. Connection to it is made via ssh - application layer network protocol.
Next, you need to install a dedicated server with the settings specified in the official instructions of the developers of the game:
useradd -m steam.
apt install lib32gcc1
.sudo -u steam bash
.Next for SteamCMD you need to create a directory for Steam to write logs there. The command looks like this:
mkdir ~/Steam && cd ~/Steam
Then we need to download and install SteamCMD itself into the directory:
wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
tar zxvf steamcmd_linux.tar.gz
After the installation you need to run SteamCMD and log in:
./steamcmd.sh
login anonymous
In SteamCMD you need to find the directory CS GO. To do this, use the command
force_install_dir ./cs_go/
The only thing left is to install CS. This is done with the command
app_update 740 validate
In it 740 is the internal code of CS GO. The procedure may take time, because you need to download more than 25 GB of data.
It remains to create a token and start the server.