Skip to content

Instantly share code, notes, and snippets.

@HackerPide
Last active December 29, 2020 08:11
Show Gist options
  • Save HackerPide/d0ba3ef11a229b57924e2c64f693ed46 to your computer and use it in GitHub Desktop.
Save HackerPide/d0ba3ef11a229b57924e2c64f693ed46 to your computer and use it in GitHub Desktop.
Linuxgsm CSGO srcds auto create script for Debian WIP
## Usage as root:
## wget -O csgods_lgsm.sh https://gist.githubusercontent.com/HackerPide/d0ba3ef11a229b57924e2c64f693ed46/raw && chmod +x csgods_lgsm.sh && bash csgods_lgsm.sh csgoserver
## Detailed information: https://linuxgsm.com/lgsm/csgoserver/
# install curl and create user for the server
apt update && apt install curl && adduser csgoserver && cd /home/csgoserver &&
# download/prepare csgoserver executable
sudo -Hu csgoserver bash -c 'wget -O linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh csgoserver' &&
# install dependencies
./csgoserver install &&
# install csgo server
sudo -Hu csgoserver bash -c './csgoserver install' && cd ~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment