Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Instalacja serwera Hurtworld
- apt-get update && apt-get upgrade -y
- dpkg --add-architecture i386; apt update; apt install lib32gcc1 libstdc++6 libstdc++6:i386 lib32z1 -y
- adduser hwserver
- su - hwserver
- # SteamCMD
- mkdir -p /home/hwserver/steamcmd
- cd /home/hwserver/steamcmd
- wget http://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz -O steamcmd.tar.gz
- tar -xvzf steamcmd.tar.gz
- # Instalacja serwera
- /home/hwserver/steamcmd/./steamcmd.sh +login anonymous +force_install_dir /home/hwserver/ +app_update 405100 -beta legacy validate +quit
- # Uruchomienie (vanilla)
- chmod +x /home/hwserver/host.sh
- cd /home/hwserver/
- screen -AmdS hwserver "/home/hwserver/./host.sh"
- # Przejscie do okna serwera:
- script /dev/null
- screen -r hwserver
- # Instalacja uMod
- su - hwserver
- wget https://umod.org/games/hurtworld/download -O uMod.Hurtworld.zip
- unzip -o uMod.Hurtworld.zip
- wget https://raw.githubusercontent.com/theumod/umod.hurtworld/develop/resources/_start-example.sh
- mv _start-example.sh _start.sh
- chmod +x /home/hwserver/_start.sh
- # Uruchomienie w screen
- screen -AmdS hwserver "./_start.sh"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement