Skip to content

Commit 0b217c0

Browse files
dgibbs64gitbook-bot
authored andcommitted
GITBOOK-313: change request with no subject merged in GitBook
1 parent ddd4fd4 commit 0b217c0

File tree

7 files changed

+35
-36
lines changed

7 files changed

+35
-36
lines changed

SUMMARY.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
* [cronjobs](configuration/cronjobs.md)
1010
* [Running on Boot](configuration/running-on-boot.md)
1111
* [Local/Home Server](configuration/local-home-server.md)
12-
* [IP Address](configuration/ip-address.md)
13-
* [Ports](configuration/ports.md)
1412
* [LinuxGSM Stats](configuration/linuxgsm-stats.md)
1513
* [Commands](commands/README.md)
1614
* [install](commands/install.md)
@@ -54,6 +52,8 @@
5452
* [Unreal Tournament 3](game-servers/unreal-tournament-3.md)
5553
* [Valheim](game-servers/valheim.md)
5654
* [Networking](networking/README.md)
55+
* [IP Address](networking/ip-address.md)
56+
* [Ports](networking/ports.md)
5757
* [Source Engine](networking/source-engine.md)
5858
* [Alerts](alerts/README.md)
5959
* [Discord](alerts/discord.md)

features/multiple-game-servers.md

+23-24
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ description: Hosting multiple game servers on the same host
66

77
Depending upon the game server you are running it is possible to run multiple game servers on the same server host.
88

9-
**There are two recommended ways to run multiple game servers on one physical server**.
9+
**There are two recommended ways to run multiple game servers on one physical server**.\
1010
Depending upon the circumstances you may choose a particular method or mixture of both.
1111

12-
It is best to make a proper plan for running multiple game servers at the earliest stage of your deployment.
12+
It is best to make a proper plan for running multiple game servers at the earliest stage of your deployment.\
1313
Make sure that you examined this page carefully and understood all of its content before starting.
1414

1515
## Prerequisites
@@ -20,13 +20,13 @@ You need some definitions to make this guide clear.
2020

2121
* **Installation:** An _installation_ refers to the base directory of a game server. This is where the files required to run a game server is stored.
2222

23-
```text
23+
```
2424
/home/gameserver/serverfiles
2525
```
2626

2727
* **Instance:** Each individual game server is referred too as an _instance._ There might be multiple instances running per installation. An instance is started by running the `./gameserver` script
2828

29-
```text
29+
```
3030
/home/gameserver/gameserver
3131
/home/gameserver/gameserver-2
3232
```
@@ -39,7 +39,7 @@ You should be familiar with how [LinuxGSM Configs](../configuration/linuxgsm-con
3939

4040
#### Understand ports
4141

42-
You need to understand how ports work in order to avoid port overlapping, otherwise your new instances won't start. Useful resource: [Ports](../configuration/ports.md).
42+
You need to understand how ports work in order to avoid port overlapping, otherwise your new instances won't start. Useful resource: [Ports](../networking/ports.md).
4343

4444
## Single Instance per Installation
4545

@@ -70,18 +70,18 @@ This consists of creating a new user for each game server, repeat the install pr
7070

7171
The installs are separated and isolated from each other in each users _home directory_.
7272

73-
| Game Server | User | LinuxGSM Script location |
74-
| :--- | :--- | :--- |
75-
| Garry’s Mod | gmodserver | /home/gmodserver/gmodserver |
76-
| Garry’s Mod | gmodserver-slender | /home/gmodserver-slender/gmodserver |
77-
| Counter-Strike: Global Offensive | csgoserver | /home/csgoserver/csgoserver |
73+
| Game Server | User | LinuxGSM Script location |
74+
| -------------------------------- | ------------------ | ----------------------------------- |
75+
| Garry’s Mod | gmodserver | /home/gmodserver/gmodserver |
76+
| Garry’s Mod | gmodserver-slender | /home/gmodserver-slender/gmodserver |
77+
| Counter-Strike: Global Offensive | csgoserver | /home/csgoserver/csgoserver |
7878
| Counter-Strike: Global Offensive | csgoserver-zombies | /home/csgoserver-zombies/csgoserver |
7979

8080
### How to Install
8181

82-
1. Create a new user with a home directory.
82+
1. Create a new user with a home directory. 
8383
2. Repeat the standard installation process using this new user.
84-
3. Change the instance config adjusting ports numbers from the default
84+
3. Change the instance config adjusting ports numbers from the default 
8585

8686
## Single Installation with Multiple Instances
8787

@@ -113,37 +113,37 @@ Most but not all game servers work with this method
113113

114114
### How it works
115115

116-
You have one game server installation, but you have multiple instances start in the same installation using different config files.
116+
You have one game server installation, but you have multiple instances start in the same installation using different config files. 
117117

118-
Every time a new instance is created, new default config files are created. This allows each instance to have different hostname, ports etc. The config files are by default the same name as the instance script. For example, if the script is `./gameserver-2` the config is `gameserver-2.cfg`. You can see the location of config files in `./gameserver-2 details` \(replace "instance" with your actual instance name\).
118+
Every time a new instance is created, new default config files are created. This allows each instance to have different hostname, ports etc. The config files are by default the same name as the instance script. For example, if the script is `./gameserver-2` the config is `gameserver-2.cfg`. You can see the location of config files in `./gameserver-2 details` (replace "instance" with your actual instance name).
119119

120120
Each instance is managed using its own script which gives the config file names. These can be renamed how you like, however, the default will simply have an incremental number. Some admins may choose to name them after the server port, the map or the gamemode instead.
121121

122122
### Examples
123123

124-
| Game | User | LinuxGSM Script location | notes |
125-
| :--- | :--- | :--- | :--- |
126-
| Garry’s Mod | gmodserver | /home/gmodserver/gmodserver | 1.2.3.4:27015 |
127-
| Garry’s Mod | gmodserver | /home/gmodserver/gmodserver-1 | 1.2.3.4:27018 |
128-
| Garry’s Mod | gmodserver | /home/gmodserver/gmodserver-2 | 1.2.3.4:27021 |
124+
| Game | User | LinuxGSM Script location | notes |
125+
| -------------------------------- | ---------- | ----------------------------------------- | ------------------------ |
126+
| Garry’s Mod | gmodserver | /home/gmodserver/gmodserver | 1.2.3.4:27015 |
127+
| Garry’s Mod | gmodserver | /home/gmodserver/gmodserver-1 | 1.2.3.4:27018 |
128+
| Garry’s Mod | gmodserver | /home/gmodserver/gmodserver-2 | 1.2.3.4:27021 |
129129
| Counter-Strike: Global Offensive | csgoserver | /home/csgoserver/csgoserver-zombies-27024 | 1.2.3.4:27024 Zombie Mod |
130130
| Counter-Strike: Global Offensive | csgoserver | /home/csgoserver/csgoserver-zombies-27027 | 1.2.3.4:27027 Zombie Mod |
131131

132132
In these examples, you can see the scripts are located in the same installation but have different names. Each instance has had its port altered in the server config to prevent port clashes.
133133

134134
### How to install
135135

136-
`linuxgsm.sh` allows you to generate as many instances as you want by running .
136+
`linuxgsm.sh` allows you to generate as many instances as you want by running . 
137137

138-
```text
138+
```
139139
./linuxgsm.sh install
140140
OR
141141
./linuxgsm.sh gameserver
142142
```
143143

144144
It will generate a new LinuxGSM script using an incremental number.
145145

146-
```text
146+
```
147147
./gameserver-2
148148
```
149149

@@ -153,9 +153,8 @@ On the first run of `./gameserver-2` a new default LinuxGSM and game config `gam
153153

154154
### Forgetting to change ports and/or IP
155155

156-
If you run multiple game servers you will need to alter ports. Ensure you are aware of how to manage [ports](../configuration/ports.md).
156+
If you run multiple game servers you will need to alter ports. Ensure you are aware of how to manage [ports](../networking/ports.md).
157157

158158
### Installing game servers with the same script name under the same user
159159

160160
Installing multiple installations using the same user does work. However you must use unique script names i.e. `./gameserver`. This is because tmux requires unique session name to start a session. Tmux will fail to start if another server is using the same session name. LinuxGSM uses the script name as the tmux session name.
161-

configuration/ip-address.md networking/ip-address.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This guide is not designed to be an in-depth guide to networking, instead focusi
88

99
## Internet Server vs. Local Server
1010

11-
Your game server can be hosted online using a server provider such as Linode or on a [local network](local-home-server.md) at your house for either local-only LAN parties or allowing online players in through your router. 
11+
Your game server can be hosted online using a server provider such as Linode or on a [local network](../configuration/local-home-server.md) at your house for either local-only LAN parties or allowing online players in through your router. 
1212

1313
## Network Interfaces
1414

@@ -72,7 +72,7 @@ By default, LinuxGSM will use the 0.0.0.0 meta-address. This behavior will allow
7272

7373
Internet IP: LinuxGSM will try to gather the server internet IP address to be shown in [details](../commands/details.md).
7474

75-
Specific IP: If a specific IP address needs to be set it can be done using the `ip` setting in the [LinuxGSM ](linuxgsm-config.md)or [game server ](game-server-config.md)config files. 
75+
Specific IP: If a specific IP address needs to be set it can be done using the `ip` setting in the [LinuxGSM ](../configuration/linuxgsm-config.md)or [game server ](../configuration/game-server-config.md)config files. 
7676

7777
Display IP: If you want to change the IP address displayed in alerts you can use the [displayip](../alerts/#display-ip).
7878

configuration/ports.md networking/ports.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Query port: Used by software to gather information from the server such as serve
2020
Rcon port: Some game servers have remote console port allowing remote administration of a game server. \
2121
Web port: used for game servers that have web interface.
2222

23-
Depending upon which game server is being used, you can set game server ports within your [start parameters](start-parameters.md) or [game server](game-server-config.md) config file.
23+
Depending upon which game server is being used, you can set game server ports within your [start parameters](../configuration/start-parameters.md) or [game server](../configuration/game-server-config.md) config file.
2424

2525
LinuxGSM allows you to see the ports your game server is using with the `./gameserver details` command.
2626

@@ -37,7 +37,7 @@ App 28082 tcp 1
3737

3838
## Changing Default Ports
3939

40-
Default ports are set in either the [start parameters](start-parameters.md) or [game config](game-server-config.md). 
40+
Default ports are set in either the [start parameters](../configuration/start-parameters.md) or [game config](../configuration/game-server-config.md). 
4141

4242
You can use `./gameserver details` to find out where to edit port settings
4343

steamcmd/steam-master-server.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ steammaster="true"
3131
There are instances when a game server might not appear in the server list due to several common reasons:
3232

3333
* Server Loading Time: Please be patient while the server loads, as it may take some time before it becomes visible. Depending on the game server type, certain servers require additional time for tasks like map seeding or loading mods.
34-
* Blocked or Misconfigured [Ports](../configuration/ports.md): Ensure that the ports are correctly set up and not blocked. To verify the connection, try connecting directly to the server.
34+
* Blocked or Misconfigured [Ports](../networking/ports.md): Ensure that the ports are correctly set up and not blocked. To verify the connection, try connecting directly to the server.
3535
* Filtering in Server List: Check that you have not applied any filters in the server browser. Filters like specific maps, "Empty Server," or "Password Protected" should be unchecked to display all available servers.
3636
* Server Browser Limitations: It's possible that the server browser functionality of the game might not list all available game servers. In such cases, not all servers may be visible in the server list.

support/faq.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ This can have numerous reasons. Here are some ways to diagnose this issue:
237237
* Are you behind [Firewalls](../linux/firewalls.md)? Double-check your rules, and try to disable it for testing
238238
* Do you have multiple interfaces? Set the right IP within your "gameserver" script or the game config file
239239
* Is it a home server? If you're behind a router, make sure you're listening to your local IP, then redirect appropriate ports to this local IP within your router settings.
240-
* Are the ports you're using free? See [Ports](../configuration/ports.md)
240+
* Are the ports you're using free? See [Ports](../networking/ports.md)
241241
* Did you wait long enough? Sometimes it's just a matter of time until your server shows up on the list
242242

243243
## How do I solve a segmentation fault?

troubleshooting.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Note: (example) `./gameserver details` will provide you with relevant informatio
3838
* Is the server properly installed? See the "Game server downloads" part
3939
* Are all packages installed properly? See "Dependencies" part
4040
* Is your Linux installation compatible? 32/64bit, distribution... Check command: `uname -a`
41-
* Are ports already used by another service? See [Ports](configuration/ports.md) and [Multiple-Game-Servers](features/multiple-game-servers.md)
41+
* Are ports already used by another service? See [Ports](networking/ports.md) and [Multiple-Game-Servers](features/multiple-game-servers.md)
4242
* Is this a known tmux issue? See [Tmux](requirements/tmux.md)
4343
* Did you try to start with the `debug` command? See [debug](commands/debug.md)
4444
* What does the logs say? See \[[Logging](features/logging.md)
@@ -85,13 +85,13 @@ Compare the output from this to expected ports displayed in the details command.
8585
If the output differs or your think something is wrong, here are the things to check on:
8686

8787
* Did you set an ip in your gameserver script or config file or are you listening to `0.0.0.0`?
88-
* Are the ports you're using free? See [Ports](configuration/ports.md)
89-
* Are you listening to an actual interface IP? See [Ports](configuration/ports.md) Also, double check for typo mistakes.
88+
* Are the ports you're using free? See [Ports](networking/ports.md)
89+
* Are you listening to an actual interface IP? See [Ports](networking/ports.md) Also, double check for typo mistakes.
9090

9191
#### Isn't there a firewall or a missing NAT rule?
9292

9393
* Are you behind [Firewalls](linux/firewalls.md)? See [Firewalls](linux/firewalls.md)
94-
* If it's a local server, are ports redirection done properly? See [Ports](configuration/ports.md) and [details](commands/details.md)
94+
* If it's a local server, are ports redirection done properly? See [Ports](networking/ports.md) and [details](commands/details.md)
9595

9696
#### Other keys to solving this:
9797

0 commit comments

Comments
 (0)