homepage - blogs - devices

Setup SteamCMD under Debian

first, type 'mkdir steamcmd' and press enter. now type 'cd steamcmd'.

type "sudo curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -" and press enter.

alternatively, if you dont have sudo. you can become root by typing "su" and entering your password (this lets you become root) -- then type curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -

it should be installing after you run the command.

type "ls" - it should show 2 files, linux32 steamcmd.sh

type "sudo apt-get install lib32gcc-s1 -y" (THIS PART IS IMPORTANT TO ENSURE IT WORKS)

if all looks correct with no errors, type "chmod +x steamcmd.sh" and then "./steamcmd.sh"

if your now at Steam>_ you have sucessfully installed steamcmd -- now follow this to setup a game server

heres a little script that creates a TF2 server for you, "./steamcmd.sh +force_install_dir ./tf2 +login anonymous +app_update 232250 +quit"

(exit steamcmd by typing 'exit' and type "sudo nano ./updatetf2.sh" paste in those commands, and crtl x + crtl y to save. now type "sudo chmod +x updatetf2.sh" and press enter, now you can type ./updatetf2.sh and it SHOULD create a tf2 server (when it finishes, should say " 'Success! App '232250' fully installed'" type "cd tf2" and then ./srcds_run +map itemtest" -- congrats you now have a TF2 server, now forward ports 25565 (not making a guide on that, its dependes on your router.) ok bye.

ok starting 64 bit version works, but starting 32 bit verison gives you "Failed to open bin/dedicated_srv.so" (if your getting that errror, in the terminal type: "sudo dpkg --add-architecture i386; sudo apt-get update; sudo apt-get install lib32gcc-s1 libstdc++6 libstdc++6:i386 libcurl4-gnutls-dev:i386 libtcmalloc-minimal4:i386" (source: https://forums.alliedmods.net/showthread.php?t=301903) that SHOULD fix it.