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