Category: CentOS

Install CS:GO Linux Server on CentOS 6 & 7

Prerequisites

yum install -y glibc.i686 libstdc++.i686 nano screen wget tar

Create server directories

mkdir /srv/games
mkdir /srv/games/csgo
cd /srv/games/csgo

Create user

adduser csgoserver
passwd csgoserver

Grant user sudo access

visudo
## Allow root to run any commands anywhere
root ALL=(ALL) ALL
csgoserver ALL=(ALL) ALL

Sudo as user csgoserver & create directories

su - csgoserver
sudo mkdir /srv/games/csgo/steamcmd
sudo cd /srv/games/csgo/steamcmd

Download CSGO server from Steam

sudo wget http://media.steampowered.com/client/steamcmd_linux.tar.gz
sudo tar -xvzf steamcmd_linux.tar.gz
sudo ./steamcmd.sh +login anonymous +force_install_dir ../pub +app_update 740 validate +quit

Register CSGO Server Token
http://steamcommunity.com/dev/managegameservers

Setup CSGO Server Launcher
https://github.com/crazy-max/csgo-server-launcher


Extra shit I do that you might be interested in…

Remove pointless botĀ chatterĀ from console

sed -i 's/Rank/\/\/Rank/g' botprofile.db