UltimatusVirsus

Instalar un servidor Source

Nov 10th, 2021 (edited)
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. # Ubuntu 18.04 - Debian 10
  2. # Pre-requisitos
  3.  
  4. sudo apt update
  5. sudo apt upgrade
  6. # Debian V
  7. sudo apt install wget screen dos2unix neofetch
  8.  
  9. sudo dpkg --add-architecture i386
  10. sudo apt-get update
  11. sudo apt-get install lib32z1 libncurses5:i386 libbz2-1.0:i386 lib32gcc1 lib32stdc++6 libtinfo5:i386 libcurl3-gnutls:i386
  12.  
  13.  
  14. # Descargar SteamCMD
  15.  
  16. mkdir Steam && cd Steam
  17. wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz && tar zxf steamcmd_linux.tar.gz && rm steamcmd_linux.tar.gz
  18.  
  19.  
  20. # Crear un archivo que actualize el servidor
  21. # Requisito: Estar en la carpeta principal del usuario (cd ~)
  22. # la APPID la pueden encontrar en https://developer.valvesoftware.com/wiki/Dedicated_Servers_List#Linux_Dedicated_Servers
  23. # Lista del parametro +app_update segun su juego (Solo motor Source):
  24. #
  25. # Team Fortress 2 = 232250
  26. # Counter Strike: Source = 232330
  27. # Counter Strike: Global Offensive = 740
  28. # Garry's Mod = 4020
  29. # Half Life 2: Deathmatch = 232370
  30. # Half Life Source: Deathmatch = 255470
  31. # Day Of Defeat Source = 232290
  32. # Left 4 Dead 2 = 222860
  33. # Left 4 Dead = 222840
  34.  
  35. nano update.sh (
  36. ./Steam/steamcmd.sh +login anonymous +force_install_dir ./../servidor +app_update APPID +quit
  37. )
  38. chmod +x update.sh
  39.  
  40.  
  41. # Iniciar servidor
  42. # Lista del parametro -game segun su juego (Solo motor Source):
  43. #
  44. # Team Fortress 2 = tf
  45. # Counter Strike: Source = cstrike
  46. # Counter Strike: Global Offensive = csgo
  47. # Garry's Mod = garrysmod
  48. # Half Life 2: Deathmatch = hl2dm
  49. # Half Life Source: Deathmatch = hl1mp
  50. # Day Of Defeat Source = dods
  51. # Left 4 Dead 2 = left4dead2
  52. # Left 4 Dead = left4dead
  53.  
  54. nano start.sh (
  55. ./servidor/srcds_run -console -game JUEGO +map MAPA +maxplayers JUGADORES
  56. )
  57. chmod +x start.sh
  58.  
  59.  
Add Comment
Please, Sign In to add comment