Last active
May 19, 2021 19:52
-
-
Save yonderbread/858a6a3834fa03b1c59970c2d9a728f7 to your computer and use it in GitHub Desktop.
Installs a csgo server in your home directory within a csgo_server folder.
This file contains hidden or 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 | |
echo "WARNING: MAKE SURE YOU BACK UP YOUR OLD SERVER DIRECTORIES!!!" | |
echo "This will delete any folder in your home directory" | |
echo "named `csgo_server`, do CTRL+C within the next 7 seconds to cancel" | |
echo "the installation." | |
sudo add-apt-repository multiverse | |
sudo dpkg --add-architecture i386 | |
sudo apt update | |
sudo apt -y install lib32gcc1 steamcmd | |
cd $HOME && rm -rf csgo_server && mkdir csgo_server | |
cd csgo_server | |
steamcmd +login anonymous +force_install_dir csgo_ds +app_update 740 validate +quit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment