Skip to content

Instantly share code, notes, and snippets.

@theraw
Created March 23, 2022 01:36
Show Gist options
  • Save theraw/ad14b0c828ab5ae95319df3022881bdc to your computer and use it in GitHub Desktop.
Save theraw/ad14b0c828ab5ae95319df3022881bdc to your computer and use it in GitHub Desktop.
apt -y update
apt-get install curl lib32gcc1 ca-certificates unzip wget -y
apt-get install lib32z1 lib32ncurses5 libbz2-1.0:i386 -y
cd /tmp
wget https://github.com/DevilBoy-eXe/hlds/releases/download/7882/hlds_build_7882.zip
cd /tmp && unzip hlds_build_7882.zip && rm -Rf hlds_build_7882.zip
mv /tmp/hlds_build_7882/ /mnt/server
chmod 555 /mnt/server/hlds_run && chmod 555 /mnt/server/hlds_linux
mkdir -p /mnt/steamcmd
cd /mnt/steamcmd && curl -sqL 'https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz' | tar zxvf -
chown -R root:root /mnt/steamcmd
/mnt/steamcmd/steamcmd.sh +quit
mkdir -p /mnt/server/.steam/sdk32
cp -v /mnt/steamcmd/linux32/steamclient.so /mnt/server/.steam/sdk32/steamclient.so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment