DistortedDorian

Untitled

Jun 28th, 2014
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [B][U]--- In SSH Line ---[/U][/B]
  2.  
  3. [B]$ mkdir /home/Steam[/B]
  4. [I](Ignore the $ (see above), I created a folder called "Steam")[/I]
  5.  
  6. [B]$ wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz[/B]
  7. [I](I downloaded SteamCMD)[/I]
  8.  
  9. [B]$ tar -xvzf steamcmd_linux.tar.gz[/B]
  10. [I](I unzipped the steamcmd file)[/I]
  11.  
  12. [B]$ ./steamcmd.sh[/B]
  13. [I](I started the SteamCMD)[/I]
  14.  
  15. [B][U]--- In SteamCMD ---[/U][/B]
  16. [B]Steam>login anonymous[/B]
  17. Connecting anonymously to Steam Public...Success.
  18.  
  19. [B]Steam>Force_Install_dir ./l4d2[/B]
  20. [I](I select the installation directory (folder) to l4d2 that is inside of Steam folder)[/I]
  21.  
  22. Steam>app_update 222860 validate
  23. [I](222860 is the ID to download L4D2 Dedicated server (https://developer.valvesoftware.com/wiki/Dedicated_Servers_List) and validate ensures that all files are downloaded and up to date.)[/I]
  24.  
  25. [U][B]-- After 5 min the download is finished --[/B][/U]
  26.  
  27. [B]Steam>exit[/B]
  28.  
  29. [B]$ cd /home/Steam/l4d2[/B]
  30. [I](I enter the folder where I downloaded L4D2)[/I]
  31.  
  32. [B]$ screen -dmS L4D2 ./srcds_run -console -game left4dead2 +maxplayers 4 +ip IP.CENSORED +port 27015 +exec server.cfg[/B]
  33. [I](this is the command I use to start the server)[/I]
  34.  
  35. [B]$ Screen -X[/B]
  36. [I](I enter the console)[/I]
  37.  
  38. I tested to ping the server and it worked:
  39. http://www.yougetsignal.com/tools/open-ports/
  40. [I]"Port 27015 is open on IP.CENSORED."[/I]
Advertisement
Add Comment
Please, Sign In to add comment