Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [B][U]--- In SSH Line ---[/U][/B]
- [B]$ mkdir /home/Steam[/B]
- [I](Ignore the $ (see above), I created a folder called "Steam")[/I]
- [B]$ wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz[/B]
- [I](I downloaded SteamCMD)[/I]
- [B]$ tar -xvzf steamcmd_linux.tar.gz[/B]
- [I](I unzipped the steamcmd file)[/I]
- [B]$ ./steamcmd.sh[/B]
- [I](I started the SteamCMD)[/I]
- [B][U]--- In SteamCMD ---[/U][/B]
- [B]Steam>login anonymous[/B]
- Connecting anonymously to Steam Public...Success.
- [B]Steam>Force_Install_dir ./l4d2[/B]
- [I](I select the installation directory (folder) to l4d2 that is inside of Steam folder)[/I]
- Steam>app_update 222860 validate
- [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]
- [U][B]-- After 5 min the download is finished --[/B][/U]
- [B]Steam>exit[/B]
- [B]$ cd /home/Steam/l4d2[/B]
- [I](I enter the folder where I downloaded L4D2)[/I]
- [B]$ screen -dmS L4D2 ./srcds_run -console -game left4dead2 +maxplayers 4 +ip IP.CENSORED +port 27015 +exec server.cfg[/B]
- [I](this is the command I use to start the server)[/I]
- [B]$ Screen -X[/B]
- [I](I enter the console)[/I]
- I tested to ping the server and it worked:
- http://www.yougetsignal.com/tools/open-ports/
- [I]"Port 27015 is open on IP.CENSORED."[/I]
Advertisement
Add Comment
Please, Sign In to add comment