Jump to content



Photo

Garry's Mod 10 Server (Linux)


  • Please log in to reply
2 replies to this topic

#1 Arctic

Arctic

    Haphost Staff

  • Moderators
  • 341 posts
  • LocationGermany

Posted 03 November 2014 - 01:45 PM

Garry's Mod is a HL2 based game i.e.
we can use most Config and rcon commands from Counter-Strike Source.

 

Resources

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:

Standard port:
The following ports are used by default.
If we use a router or a firewall, we need to share or forward these ports.

UDP 1200
UDP / TCP 27000-27015
TCP / TCP 27020-27039

 

Generally

-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.

 

 

 
Installation

 

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:

cd

Change to the home directory.
In order to keep everything tidy, we place only once a subfolder

mkdir gmod

The name of the folder is gmod.
We now switch to the gmod folder:

cd gmod

Now we Download SteamCMD:

wget http://media.steampowered.com/client/steamcmd_linux.tar.gz
 
Now we unpack the archive with:
 
tar xfvz steamcmd_linux.tar.gz

After unpacking we start the program:

STEAMEXE=steamcmd ./steam.sh
Steam>

Now we need to login with us:

login anonymous

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.

force_install_dir /home/username/gmod

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

Serverstart

screen -AmdS gmodserver orangebox/srcds_run -console -game garrysmod +maxplayers 16 +map gm_construct -autoupdate

 

Credits by Arctic

 

 

 


any support PM's be Ignored please use the Support section for it

 

Support


#2 Jez

Jez

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 04 November 2014 - 05:05 PM

Why would anyone want Garry's mod 10, it's outdated as f*ck? And I don't think that's even available anymore...



#3 Arctic

Arctic

    Haphost Staff

  • Moderators
  • 341 posts
  • LocationGermany

Posted 08 November 2014 - 02:36 PM

Why would anyone want Garry's mod 10, it's outdated as f*ck? And I don't think that's even available anymore...

you're wrong, the community is still active please let such spam trying I will also report this


any support PM's be Ignored please use the Support section for it

 

Support





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users