View difference between Paste ID: 4H9W58Fb and mMTTFy17
SHOW: | | - or go back to the newest paste.
1
($ = shows that I'm using a command in SSH)
2
3
--- In SSH Line ---
4
5
$ mkdir /home/Steam
6
(Ignore the $ (see above), I created a folder called "Steam")
7
8
$ wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz
9
(I downloaded SteamCMD)
10
11
$ tar -xvzf steamcmd_linux.tar.gz
12
(I unzipped the steamcmd file)
13
14
$ ./steamcmd.sh
15
(I started the SteamCMD)
16
17
--- In SteamCMD ---
18
Steam>login anonymous
19
Connecting anonymously to Steam Public...Success.
20
21
Steam>Force_Install_dir ./l4d2
22
(I select the installation directory (folder) to l4d2 that is inside of Steam folder)
23
24
Steam>app_update 222860 validate
25
(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.)
26
27
-- After 5 min the download is finished --
28
29
Steam>exit
30
31
$ cd /home/Steam/l4d2
32
(I enter the folder where I downloaded L4D2)
33
34
$ screen -dmS L4D2 ./srcds_run -console -game left4dead2 +maxplayers 4 +ip IP.CENSORED +port 27015 +exec server.cfg
35
(this is the command I use to start the server)
36
37
$ Screen -X
38
(I enter the console)
39
40
I tested to ping the server and it worked:
41
http://www.yougetsignal.com/tools/open-ports/
42
"Port 27015 is open on IP.CENSORED."