MagicHosting Logo
Back to blog

Magichosting

Set up Garry's Mod server on Debian 12 with SteamCMD

E
Elias Bieber
Estimated reading time: 1 min

Install a GMod server via SteamCMD: set force_install_dir, app_update 4020, write start script with srcds_run and optionally run in background with screen.

Garry's ModGModSteamCMDLinuxDebian

GMod server with SteamCMD

Requirement: SteamCMD installed. In SteamCMD:

force_install_dir /root/gmod/
login anonymous
app_update 4020 validate

Create start script run.sh (nano), e.g.:

./srcds_run -game garrysmod -maxplayers 16 +gamemode sandbox +map gm_flatgrass
chmod u+x run.sh && bash run.sh

Optional: screen -S gmod for background. In GMod: connect IP:27015

Was this post helpful?

MagicHosting – Hosting with real value

Hosting pays off with MagicHosting: fair pricing, current deals and reliable operation from Frankfurt. We offer servers, domains and personal support – no hidden costs.

  • Current special sales with discounts on servers and packages
  • Affordable domains with transparent pricing and great offers
  • Powerful DDoS protection for maximum availability
  • Personal support when you have questions or issues
Contact on WhatsApp