Counter-Strike 2

Counter-Strike 2

Not enough ratings
Running CS:GO server on VPS using gamepanel
By Piksu ☁
This tutorial shows how to install CS:GO server to VPS and manage with game panel. (LGSM)
   
Award
Favorite
Favorited
Unfavorite
Briefing
This tutorial shows how to setup default server for Counter-Strike Global Offensive using the free game panel for Linux, LinuxGameServerMananager (lgsm). You need VirtualPrivateServer (VPS) for running servers.
Selecting right VPS for task
There are multiple VPS-providers around Tellus. Running CS:GO server is pretty lightweight for the server so there's no need for a super beefy server. CS:GO server software can only for utilizing one core for the server there is no real need for multiple cores. The server uses normally under 500MB RAM. Depending on your player amount and playtime, the server uses 500GB data per month. The server install takes 30GB space on storage so no need to worry about it.
So basically you can run a server with VPS equipped with 1-core, 1GB-ram, 30GB disk and 500GB traffic limit.

Most popular VPS-providers in Europe are OVH, Hetzner, Vultr, DigitalOcean, and HostHatch. They offer great pricing modeling for gaming server capable servers.
Setup of the VPS
When you have VPS purchased. Install newest Debian-Linux to it. Most VPS-providers offer automatic install of an operating system so that should be easy enough.

Next, connect to the server using SSH. There are plenty of programs to do that but Putty is most used. Credentials are provided by the seller of the VPS.

Next, we are going to update the server with the following command:
sudo apt-get update && apt-get upgrade -y

Then install required dependencies by CS:GO server and LGSM:
sudo dpkg --add-architecture i386; sudo apt update; sudo apt install mailutils postfix curl wget file bzip2 gzip unzip bsdmainutils python util-linux ca-certificates binutils bc tmux lib32gcc1 libstdc++6 libstdc++6:i386

Now the VPS is ready for running CS:GO server.
Install CS:GO server with LGSM
You need to create a new user for CS:GO server since running processes with root-user isn't required anymore.

Create user:
adduser csgoserver
Set passoword for user:
passwd csgoserver
and change user to created user:
su – csgoserver
Now download LGSM:
wget https://linuxgsm.com/dl/linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh csgoserver

Then install CS:GO server:
./csgoserver install
Follow install instructions provided by LGSM. You don't need to change any options for now.
Now you have hopefully successful install of CS:GO server.
Managing server with LGSM
LGSM is easy to use game panel so there aren't any hassle or long command to use.
You can start the server with:
./csgoserver start
And stop the server with:
./csgoserver stop
If you ever need to access server’s console just type
./csgoserver console
Accessing server's files
You can access server files with SFTP-connection. Most used program for this is WinSCP.
Your normal server files can be found at /home/csgoserver/serverfiles/
Server’s launch parameters can be found at /home/csgoserver/lgsm/config-lgsm/csgoserver/csgoserver.cfg
3 Comments
¡ Frostbitz™ 30 Oct, 2019 @ 12:02pm 
Nice Thanx :Terebilo:
Ценитель Cannabis 9 Sep, 2018 @ 9:49pm 
Если ошибки UTF-8 то установите:

apt-get install locales
dpkg-reconfigure locales
Ценитель Cannabis 9 Sep, 2018 @ 9:46pm 
Nice !:csgoanarchist: