Last active
December 20, 2016 07:41
-
-
Save andrewl3wis/1fefc8e139fd92c61a13 to your computer and use it in GitHub Desktop.
Very quick and dirty script to deploy a Dust2 competitive rules CSGO server on a Digital Ocean Droplet using User Data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get update | |
sudo apt-get install -y lib32gcc1 | |
useradd -m steam | |
su -c "wget https://gist.githubusercontent.com/Punkbob/1fefc8e139fd92c61a13/raw/c6b9074e92a00c7c0bd24ac6c4f630ced9edeee0/csgo-userspace" - steam | |
su -c "chmod +x csgo-userspace" - steam | |
su -c "./csgo-userspace" - steam |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Quick and Dirty Userspace install | |
mkdir ~/steamcmd | |
cd ~/steamcmd | |
wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz | |
tar -xvzf steamcmd_linux.tar.gz | |
./steamcmd.sh +login anonymous +force_install_dir ../csgo_ds +app_update 740 +quit | |
tmux new -d -s SRCDS '~/csgo_ds/srcds_run -game csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_active +map de_dust2' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment