Garry's Mod is a HL2 based game i.e.
we can use most Config and rcon commands from Counter-Strike Source.
For a standard configuration without add-ons / plug-ins! We need about following hardware per slot (player):
160 MHz CPU
minmal 50 MB RAM
Important to know:
The following ports are used by default.
If we use a router or a firewall, we need to share or forward these ports.
UDP / TCP 27000-27015
TCP / TCP 27020-27039
-Made Security reasons, we never install a game server with the root user!
Instructions: Create a User
-If Our operating system is a 64 bit version, we need the 32-bit libs.
The installation of Garry's Mod 10 is as follows: We log into the console, eg Putty and are located in the home directory.
We can to be sure to:
Change to the home directory.
In order to keep everything tidy, we place only once a subfolder
The name of the folder is gmod.
We now switch to the gmod folder:
Now we Download SteamCMD:
tar xfvz steamcmd_linux.tar.gz
After unpacking we start the program:
Now we need to login with us:
After we are now logged hopefully successfully, we can now specify the location for the server files:
Important: Specify the full path and select not-containing in the Steam directory,
otherwise errors will occur.
In this case, the server information is saved in our gmod folder which includes the SteamCMD program is located.
So far so good now we are ready to load the server files down:
app_update 4020 validate
4020 stands for the Game Garry's Mod
If our download reaches 100%, we can start the server.
Example of a shortened installation with the SteamCMD:
./steamcmd.sh +login anonymous +force_install_dir ../gmod/ +app_update 4020 validate +quit
screen -AmdS gmodserver orangebox/srcds_run -console -game garrysmod +maxplayers 16 +map gm_construct -autoupdate
Credits by Arctic