Guide – How To Start – CS: Global Offensive – Game Server on CentOS 8.2 on Amazon

Counter-Strike: Global Offensive is a multiplayer first-person shooter video game that pits two teams against each other: the Terrorists and the Counter-Terrorists. Both sides are tasked with eliminating the other while also completing separate objectives. 

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

Configuring and connecting to Counter-Strike: Global Offensive – Game Server on CentOS 8.2

  1. Start your VM

It is recommended to use the Instance type “t2.medium” or higher when installing the VM. To start the server, you just need to start the VM.

To customize the Server, first, you need to know the server IP address. You need to select the virtual machine from the list. Your IP is displayed in the line “Public IPv4 address”.

For the server to be usable, open TCP and UDP port 27015 in your VM’s security group.

  1. Get Token

To display the server in the browser list inside the game, you should add GSLT Token to the config file. In order to create a token, go to the next page under your Steam account: Steam Game Server Account Management

Enter 730 in the app ID field, enter the text to further identify the token in the Memo field, and then click “Create”.

Copy the received token.

  1. Configure the server

To configure the server, you should connect to the VM. To do that, 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

Download and run Putty

Go to the “SSH” section in the left panel (1) and then to “Auth” (2).

In the “Auth” section, click “Browse” and specify the path to the .ppk file you received earlier.

Go to the home page of “Session”, enter the IP address of the VM and click “Open”.

In the opened console you will need to enter the login centos

Enter the following commands:

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

The file editor will open. Press Insert on the keyboard. Add parameter to the end of file gslt=”Token” and paste the generated token from section 2 in quotes. In order to go to the desired line, use the arrows on the keyboard. To paste the copied text, use the right mouse button.

Press Escape on the keyboard. To save the changes to the file – type :wq in the console and press Enter.

Now you should start the server using the following commands:

> ./csgoserver start

To manage the server, you can use the commands described in the primary usage tab on the page Deploy Counter-Strike: Global Offensive Game Servers 

  1. Connect to your server

To connect to the server, start the “Counter-Strike: Global Offensive” game on your PC, open the console with the “~” key on your keyboard, and write the next command:

connect Your_VM_IP

where Your_VM_IP is the IP of your virtual machine from section 1. For example: connect

Website Built with

Up ↑

%d bloggers like this: