Advertisement
jakobmol71

Untitled

Jun 4th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. # Instalacja serwera Hurtworld
  2.  
  3. apt-get update && apt-get upgrade -y
  4. dpkg --add-architecture i386; apt update; apt install lib32gcc1 libstdc++6 libstdc++6:i386 lib32z1 -y
  5.  
  6. adduser hwserver
  7.  
  8. su - hwserver
  9.  
  10. # SteamCMD
  11.  
  12. mkdir -p /home/hwserver/steamcmd
  13. cd /home/hwserver/steamcmd
  14.  
  15. wget http://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz -O steamcmd.tar.gz
  16. tar -xvzf steamcmd.tar.gz
  17.  
  18. # Instalacja serwera
  19.  
  20. /home/hwserver/steamcmd/./steamcmd.sh +login anonymous +force_install_dir /home/hwserver/ +app_update 405100 -beta legacy validate +quit
  21.  
  22. # Uruchomienie (vanilla)
  23.  
  24. chmod +x /home/hwserver/host.sh
  25. cd /home/hwserver/
  26.  
  27. screen -AmdS hwserver "/home/hwserver/./host.sh"
  28.  
  29. # Przejscie do okna serwera:
  30.  
  31. script /dev/null
  32. screen -r hwserver
  33.  
  34. # Instalacja uMod
  35.  
  36. su - hwserver
  37.  
  38. wget https://umod.org/games/hurtworld/download -O uMod.Hurtworld.zip
  39. unzip -o uMod.Hurtworld.zip
  40.  
  41. wget https://raw.githubusercontent.com/theumod/umod.hurtworld/develop/resources/_start-example.sh
  42.  
  43. mv _start-example.sh _start.sh
  44. chmod +x /home/hwserver/_start.sh
  45.  
  46. # Uruchomienie w screen
  47.  
  48. screen -AmdS hwserver "./_start.sh"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement