Guide – How To Start – CS: Global Offensive – Game Server on Ubuntu 18.04 on Amazon

Counter-Strike: Global Offensive (CS:GO) expands upon the team-based first-person shooter gameplay the original Counter-Strike pioneered when it launched in 1999. Two teams compete in multiple rounds of objective-based game modes with the goal of winning enough rounds to win the match.

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 Ubuntu 18.04

  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:

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 ubuntu

Enter the following commands:

> ./csgoserver stop
> nano /home/ubuntu/lgsm/config-lgsm/csgoserver/csgoserver.cfg

The file editor will open. 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 Ctrl + X on the keyboard to exit the file. Then, you will be asked to save the changes to the file – press Y on the keyboard to confirm and Enter to overwrite the same file.

Now you should start the server using the following commands:

> ./csgoserver start

To check for any server updates and applies them use the command:

> ./csgoserver update

Or you can bypass the check and go straight to SteamCMD update:

> ./csgoserver force-update

Also, you can use the SteamCMD validate option when updating the server:

> ./csgoserver validate

It is a good idea to regularly update LinuxGSM to receive new features and bug fixes:

> ./csgoserver update-lgsm

To manage the server, you can use the commands described in the basic 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: