Left 4 Dead 2 Install
From 2047Servers Support
(Created page with " Category:Linux Category:Source_Based_Servers 350px '''Copy the commands within the code boxes and paste/run them in Putty''' First y...") |
|||
| Line 20: | Line 20: | ||
<pre>cd /home</pre> | <pre>cd /home</pre> | ||
| − | Now make a folder e.g. | + | Now make a folder e.g. L4D2_Server Note to change the "L4D2_Server" to the servers name or folder name |
<pre>mkdir L4D2_Server</pre> | <pre>mkdir L4D2_Server</pre> | ||
| Line 63: | Line 63: | ||
== Downloading Left 4 Dead 2== | == Downloading Left 4 Dead 2== | ||
| − | Once you have done the tasks above you can now install a Steam Game Server, To install Left 4 Dead to the current folder you command | + | Once you have done the tasks above you can now install a Steam Game Server, To install Left 4 Dead 2 to the current folder you command |
<pre>./steam -command update -game "left4dead2" -dir .</pre> | <pre>./steam -command update -game "left4dead2" -dir .</pre> | ||
| Line 75: | Line 75: | ||
When you go to run the game server you want it to run in the background even when you disconnect from Putty, you will find if you just leave it running & close Putty you will kill the server (kills any processes you left running) | When you go to run the game server you want it to run in the background even when you disconnect from Putty, you will find if you just leave it running & close Putty you will kill the server (kills any processes you left running) | ||
| − | The way you keep a process running while you disconnect, is by making a session (using screen) Note to change the " | + | The way you keep a process running while you disconnect, is by making a session (using screen) Note to change the "L4D2_Server" to the servers name or folder name |
<pre>screen -S L4D2_Server</pre> | <pre>screen -S L4D2_Server</pre> | ||
| Line 99: | Line 99: | ||
See the example command above, this will create extra instances of the servers | See the example command above, this will create extra instances of the servers | ||
| − | <pre>./srcds_run -console -game | + | <pre>./srcds_run -console -game left4dead2 +map c5m1_waterfront +maxplayers 8 -autoupdate -port 27300 +exec server.cfg -fork 5</pre> |