Guide – How To Start – Counter-Strike: Source Game Server on CentOS 8.2 on Amazon

Counter-Strike: Source is the same Counter-Strike, but remade to use Source engine you may remember from Half-Life 2. With the new physic system introduced by Valve it now seems even more interesting to play! 

This is a quick deployment and ready-to-run image.
Simple and rapid installation. Easy to maintain.

How to create and connect to Counter-Strike: Source Ubuntu AWS

  1. To start the server, you just need to start the VM through Azure Portal. 
  2. To configure the server, you should connect to the VM and call the game console. To connect to the VM, you should generate a “Private Key” in advance. This can be done using the following instruction (by choosing the “file format:” option “.ppk” in point 3)

Guide – How To – Create and use Key Pair to connect to a VM

  1. Download and run Putty
  2. Go to the “SSH” section in the left panel and then to “Auth”.
  1. In the “Auth” section, click “Browse” and specify the path to the .ppk file you received earlier.
  2. Go to the home page of “Session”, enter the IP address of the VM and click “Open”.
  1. In the opened console you will need to enter the login centos
  2. To manage the server, you can use the commands described in the basic usage tab on the page –
  1. To display the server in the browser list inside the game, you should add GSLT Token to the config file. In order to create it, go to the next page under your Steam account:
  1. Enter 240 in the app ID field, enter the text to further identify the token in the Memo field, Then click “Create”.
  2. Copy the received token, then go to PuTTy and do the following:

> ./cssserver stop
> vi /home/centos/lgsm/config-lgsm/cssserver/cssserver.cfg

  1. File editor will open. Add parameter to the end of file gslt=”” and insert the generated token in quotes. In order to go to the desired line, use the arrows on the keyboard. To create a new line press the “O” button on the keyboard. When creating a line you will be switched to the editor mode immediately, which you can also enter using the “I” button.
  2. In order to finish file editing press the “Esc” key (to leave editor mode) and enter the next command “:wq” (colon is a part of a command, it should be entered necessarily) 
  1. Now you should start the server using the following commands:

> ./cssserver start

  1. To connect to the server, start the “Counter Strike: Source” game on your PC, open the console with the “~” key on your keyboard, write connect %vm_adress% and press “Enter” to connect. For example: connect

Website Built with

Up ↑

%d bloggers like this: