Skip to content

Commit 10c062e

Browse files
authored
Merge pull request #7972 from ovh/jf-vps-guides-review
Jf vps guides review and testing - Installing Minecraft on a VPS
2 parents 87fb60d + 25092ac commit 10c062e

28 files changed

+539
-301
lines changed

pages/bare_metal_cloud/virtual_private_servers/minecraft_server_on_vps/guide.de-de.md

Lines changed: 38 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,35 @@
11
---
22
title: 'Einen Minecraft-Server auf einem VPS oder Dedicated Server einrichten'
33
excerpt: 'Erfahren Sie hier, wie Sie Ihren eigenen Minecraft-Server installieren'
4-
updated: 2021-06-29
4+
updated: 2025-06-06
55
---
66

7-
> [!primary]
8-
> Diese Übersetzung wurde durch unseren Partner SYSTRAN automatisch erstellt. In manchen Fällen können ungenaue Formulierungen verwendet worden sein, z.B. bei der Beschriftung von Schaltflächen oder technischen Details. Bitte ziehen Sie im Zweifelsfall die englische oder französische Fassung der Anleitung zu Rate. Möchten Sie mithelfen, diese Übersetzung zu verbessern? Dann nutzen Sie dazu bitte den Button "Beitragen" auf dieser Seite.
9-
>
10-
117
## Ziel
128

139
Minecraft ist ein populäres Sandbox-Spiel. Es muss auf einem Server gehostet werden, wenn Sie im Multiplayer-Modus spielen möchten.
1410

15-
Sie können einen vorkonfigurierten Minecraft-Server mieten oder einen solchen selbst auf einem [VPS](https://www.ovhcloud.com/de/vps/) oder einem dedizierten [Server](https://www.ovhcloud.com/de/bare-metal/) installieren. Dadurch werden die Kosten reduziert und Sie haben die volle Kontrolle über Ihre Spielinstanz.
11+
Sie können einen vorkonfigurierten Minecraft-Server mieten oder einen solchen selbst auf einem [VPS](/links/bare-metal/vps) oder einem dedizierten [Server](/links/bare-metal/bare-metal) installieren. Dadurch werden die Kosten reduziert und Sie haben die volle Kontrolle über Ihre Spielinstanz.
1612

1713
**Diese Anleitung erklärt, wie Sie einen Minecraft-Server Java Edition auf einem OVHcloud VPS starten und die Verbindung testen.**
1814

1915
> [!warning]
2016
> In diesem Tutorial erläutern wir die Verwendung einer oder mehrerer OVHcloud Lösungen mit externen Tools. Die durchgeführten Aktionen werden in einem bestimmten Kontext beschrieben. Denken Sie daran, diese an Ihre Situation anzupassen.
2117
>
22-
> Wir empfehlen Ihnen jedoch, sich bei Schwierigkeiten an einen [spezialisierten Dienstleister](https://partner.ovhcloud.com/de/directory/) zu wenden oder Ihre Fragen an die [OVHcloud Community](https://community.ovh.com/en/) zu richten. Leider können wir Ihnen für externe Dienstleistungen keine weitergehende Unterstützung anbieten.
18+
> Wir empfehlen Ihnen jedoch, sich bei Schwierigkeiten an einen [spezialisierten Dienstleister](/links/partner) zu wenden oder Ihre Fragen an die [OVHcloud Community](/links/community) zu richten. Leider können wir Ihnen für externe Dienstleistungen keine weitergehende Unterstützung anbieten.
2319
>
2420
2521

2622
## Voraussetzungen
2723

28-
- Sie haben einen [VPS](https://www.ovhcloud.com/de/vps/) in Ihrem OVHcloud Kunden-Account.
24+
- Sie haben einen [VPS](/links/bare-metal/vps) in Ihrem OVHcloud Kunden-Account.
2925
- Sie haben eine GNU/Linux Distribution auf dem Server installiert.
3026
- Administrator-Zugang (sudo) über SSH auf Ihren Server.
3127
- Sie verfügen über ein grundlegendes Verständnis der GNU/Linux-Administration.
3228

3329
## In der praktischen Anwendung
3430

3531
> [!primary]
36-
> Diese Anleitung basiert auf der Minecraft Java Edition Version "1.17" und der OpenJDK Version "16.0.1".
32+
> Diese Anleitung basiert auf der Minecraft Java Edition Version "1.21" und der OpenJDK Version "24.0.1".
3733
>
3834
3935
### Schritt 1: Server vorbereiten
@@ -46,29 +42,29 @@ Wenn das Betriebssystem installiert ist, verbinden Sie sich mit Ihrem VPS per SS
4642
Aktualisieren Sie zunächst die Pakete auf die neuesten Versionen:
4743

4844
```sh
49-
~$ sudo apt update
45+
$ sudo apt update
5046
```
5147

5248
```sh
53-
~$ sudo apt full-upgrade
49+
$ sudo apt full-upgrade
5450
```
5551

5652
Verwenden Sie folgenden Befehl, um sicherzustellen, dass alle notwendigen Pakete installiert sind:
5753

5854
```sh
59-
~$ sudo apt install screen nano wget git
55+
$ sudo apt install screen nano wget git
6056
```
6157

6258
Installieren Sie das Java-Paket:
6359

6460
```sh
65-
~$ sudo apt install openjdk-16-jdk
61+
$ sudo apt install openjdk-24-jdk
6662
```
6763

6864
Um Sicherheitslücken in Ihrem System zu vermeiden, erstellen Sie einen Benutzer namens "minecraft", der die Server-Aktionen ausführen wird:
6965

7066
```sh
71-
~$ sudo adduser minecraft —disabled-login —disabled-password
67+
$ sudo adduser minecraft --disabled-password
7268
```
7369

7470
Bestätigen Sie einfach mit `Enter`{.action}, um das Ausfüllen der üblichen Kontoinformationen zu überspringen.
@@ -78,7 +74,7 @@ Der Benutzer wurde erstellt. Bitte beachten Sie, dass für diesen Benutzer kein
7874
Wechseln Sie zum neuen Benutzer:
7975

8076
```sh
81-
~$ sudo su - minecraft
77+
$ sudo su - minecraft
8278
```
8379

8480
> [!primary]
@@ -89,7 +85,7 @@ Wechseln Sie zum neuen Benutzer:
8985
Erstellen Sie einen Ordner mit dem Namen `server`.
9086

9187
```sh
92-
~$ mkdir ~/server && cd ~/server
88+
$ mkdir ~/server && cd ~/server
9389
```
9490

9591
### Schritt 2: Ihren Minecraft-Server installieren
@@ -99,10 +95,10 @@ Erstellen Sie einen Ordner mit dem Namen `server`.
9995
> Ein "Vanilla"-Server ist eine Instanz ohne jegliche Add-ons oder Plugins. Sie werden das Spiel so erfahren, wie es von den Entwicklern veröffentlicht wurde.
10096
>
10197
102-
Kopieren Sie zuerst den Download-Link für das Server-Programm.
103-
<br>Klicken Sie dazu auf der offiziellen [Website von Minecraft](https://minecraft.net/download/server){.external} mit der rechten Maustaste auf den Download-Link und wählen Sie `Linkadresse kopieren`{.action}.
98+
Kopieren Sie zuerst den Download-Link für das Server-Programm.
99+
Klicken Sie dazu auf der offiziellen [Website von Minecraft](https://minecraft.net/download/server){.external} mit der rechten Maustaste auf den Download-Link und wählen Sie `Linkadresse kopieren`{.action}.
104100

105-
![Download des Servers](images/download_jar.png){.thumbnail}
101+
![Download des Servers](images/download_jar_file.png){.thumbnail}
106102

107103
Überprüfen Sie in Ihrem Kommandozeilenterminal, dass Sie noch im Verzeichnis `server` sind und verwenden Sie `wget`, um die Datei herunterzuladen.
108104
<br>Ersetzen Sie `download_link` mit der URL, die Sie zuvor kopiert haben.
@@ -117,12 +113,12 @@ Bevor Sie den Server starten, müssen Sie die EULA (*End User License Agreement*
117113
~/server$ echo "eula=true" > eula.txt
118114
```
119115

120-
Anschließend befindet sich eine Datei namens `eula.txt` im Wurzelverzeichnis Ihres Servers, die die Zeile `eula=true` enthält. Dies zeigt der Software an, dass Sie die Nutzungsbedingungen für Minecraft akzeptieren.
121-
<br>Die allgemeinen Nutzungsbedingungen finden Sie auf der offiziellen [Website von Minecraft](https://www.minecraft.net/){.external}.
116+
Anschließend befindet sich eine Datei namens `eula.txt` im Wurzelverzeichnis Ihres Servers, die die Zeile `eula=true` enthält. Dies zeigt der Software an, dass Sie die Nutzungsbedingungen für Minecraft akzeptieren.
117+
Die allgemeinen Nutzungsbedingungen finden Sie auf der offiziellen [Website von Minecraft](https://www.minecraft.net/){.external}.
122118

123119
Ihr Server kann nun gestartet werden.
124120

125-
In Schritt 1 wurde das Paket `screen` installiert, dem mehrere Terminalsitzungen (Shell) geöffnet werden können. Wir starten Minecraft nun in einer neuen Session, die im Hintergrund ausgeführt werden kann. Die Verwendung von `screen` kann sehr praktisch sein, weil Sie so mehrere Minecraft-Server gleichzeitig starten können.
121+
In Schritt 1 wurde das Paket `screen` installiert, mit dem mehrere Terminal-Sitzungen (Shell) geöffnet werden können. Wir starten Minecraft nun in einer neuen Session, die im Hintergrund ausgeführt werden kann. Die Verwendung von `screen` kann sehr praktisch sein, weil Sie so mehrere Minecraft-Server gleichzeitig starten können.
126122

127123
Erzeugen Sie zunächst eine neue Shell namens "minecraft1":
128124

@@ -133,7 +129,7 @@ Erzeugen Sie zunächst eine neue Shell namens "minecraft1":
133129
Das aktive Fenster Ihres Terminals ändert sich und Sie wechseln automatisch auf die neue Shell-Session. Wenn nötig können Sie weitere Shell-Instanzen erstellen und diese über folgenden Befehl auflisten:
134130

135131
```sh
136-
screen -ls
132+
~/server$ screen -ls
137133
```
138134

139135
Um eine Shell zu verlassen (während diese weiter ausgeführt wird), drücken Sie auf `Ctrl`{.action}, dann auf `a`{.action} und dann auf `d`{.action} Ihrer Tastatur.
@@ -148,10 +144,27 @@ Sie können alternativ auch `Ctrl`{.action}, dann auf `a`{.action} und dann auf
148144

149145
Starten Sie den Server in der zuvor erstellten Shell "minecraft1" mit folgendem Befehl. (Verwenden Sie `ls`, um den Namen der Datei zu überprüfen, falls dieser abweicht.)
150146

147+
```sh
148+
~/server$ java -Xmx1024M -Xms1024M -jar server.jar nogui
149+
```
150+
151+
- `Xmx1024M`: Damit wird der Server so konfiguriert, dass er mit 1024 MB oder 1 GB RAM startet. Dieses Limit kann erhöht werden, wenn Sie möchten, dass Ihr Server mit mehr RAM startet.
152+
- `Xms1024M`: Dies lässt den Server maximal 1024M RAM verwenden. Sie können dieses Limit erhöhen, wenn Sie möchten, dass Ihr Server mit mehr RAM läuft, um mehr Spieler unterzubringen oder wenn Sie das Gefühl haben, dass Ihr Server langsam läuft.
153+
- `jar`: Gibt die jar-Datei des Servers an, die ausgeführt werden soll.
154+
- `nogui`: Damit wird dem Server mitgeteilt, dass er keine grafische Benutzeroberfläche starten soll.
155+
156+
Sie können auch den folgenden Befehl verwenden:
157+
151158
```sh
152159
~/server$ java -jar server.jar
153160
```
154161

162+
Sobald der Server läuft, erhalten Sie das folgende Ergebnis:
163+
164+
```console
165+
[14:52:58] [Server thread/INFO]: Done (41.530s)! For help, type "help"
166+
```
167+
155168
Um Ihren Server anzuhalten, geben Sie den Befehl `stop` ein.
156169

157170
### Schritt 3: Mit dem Server verbinden
@@ -172,10 +185,10 @@ Standardmäßig ist kein Port anzugeben.
172185

173186
Ihr Minecraft Vanilla Server ist nun auf Ihrem VPS installiert.
174187

175-
Bitte beachten Sie, dass diese Installationsanleitung auch für einen [OVHcloud Dedicated Server](https://www.ovhcloud.com/de/bare-metal/) oder eine [Public Cloud Instanz](https://www.ovhcloud.com/de/public-cloud/) gilt. Mit diesen Lösungen profitieren Sie auch von garantierten und stabilen physischen Ressourcen, da die Hardware dediziert ist.
188+
Beachten Sie, dass diese Installationsanleitung auch für einen [OVHcloud Dedicated Server](/links/bare-metal/bare-metal) oder eine [Public Cloud Instanz](/links/public-cloud/compute) anwendbar ist. Mit diesen Lösungen profitieren Sie auch von garantierten und stabilen physischen Ressourcen, da die Hardware dediziert ist.
176189

177190
## Weiterführende Informationen <a name="gofurther"></a>
178191

179192
Zu Add-ons, Mods und um die Konfiguration Ihres Minecraft-Servers zu individualisieren, finden Sie hier die offizielle Dokumentation: <https://help.mojang.com/>.
180193

181-
Für den Austausch mit unserer User Community gehen Sie auf <https://community.ovh.com/en/>.
194+
Treten Sie unserer [User Community](/links/community) bei.

pages/bare_metal_cloud/virtual_private_servers/minecraft_server_on_vps/guide.en-asia.md

Lines changed: 36 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
---
22
title: 'How to create a Minecraft server on a VPS'
33
excerpt: 'Find out how to install your own Minecraft server'
4-
updated: 2021-06-29
4+
updated: 2025-06-06
55
---
66

77
## Objective
88

99
Minecraft is a popular sandbox video game. It needs to be hosted on a server if you wish to play in multiplayer.
1010

11-
You can rent a pre-built Minecraft server or you can set it up yourself on a [VPS](https://www.ovhcloud.com/asia/vps/) or on a [dedicated server](https://www.ovhcloud.com/asia/bare-metal/){.external}. This will reduce the cost and give you full control over your game instance.
11+
You can rent a pre-built Minecraft server or you can set it up yourself on a [VPS](/links/bare-metal/vps) or on a [dedicated server](/links/bare-metal/bare-metal). This will reduce the cost and give you full control over your game instance.
1212

1313
**This tutorial explains how to launch a Minecraft Java Edition server on an OVHcloud VPS and test its connectivity.**
1414

1515
> [!warning]
16-
>This guide will show you how to use one or more OVHcloud solutions with external tools, and will describe the actions to be carried out in a specific context. ou may need to adapt the instructions according to your situation.
16+
> This guide will show you how to use one or more OVHcloud solutions with external tools, and will describe the actions to be carried out in a specific context. ou may need to adapt the instructions according to your situation.
1717
>
18-
>If you encounter any difficulties performing these actions, please contact a [specialist service provider](https://partner.ovhcloud.com/asia/directory/) and/or discuss the issue with our community. You can find more information in the [Go further](#gofurther) section of this guide.
18+
> If you encounter any difficulties performing these actions, please contact a [specialist service provider](/links/partner) and/or discuss the issue with our community. You can find more information in the [Go further](#gofurther) section of this guide.
1919
>
2020
2121
## Requirements
2222

23-
- A [Virtual Private Server](https://www.ovhcloud.com/asia/vps/) in your OVHcloud account
23+
- A [Virtual Private Server](/links/bare-metal/vps) in your OVHcloud account
2424
- A GNU/Linux distribution installed on the server
2525
- Administrative access (sudo) via SSH to your server
2626
- A basic understanding of GNU/Linux administration
2727

2828
## Instructions
2929

3030
> [!primary]
31-
> This tutorial is based on version "1.17" of Minecraft Java Edition and OpenJDK version "16.0.1".
31+
> This tutorial is based on version "1.21" of Minecraft Java Edition and OpenJDK version "24.0.1".
3232
>
3333
3434
### Step 1: Prepare the server
@@ -41,29 +41,29 @@ Once the OS is installed, connect to your VPS with SSH as described in the [Gett
4141
First update the packages to their latest versions:
4242

4343
```sh
44-
~$ sudo apt update
44+
$ sudo apt update
4545
```
4646

4747
```sh
48-
~$ sudo apt full-upgrade
48+
$ sudo apt full-upgrade
4949
```
5050

5151
Use the following command to ensure all required packages are installed.
5252

5353
```sh
54-
~$ sudo apt install screen nano wget git
54+
$ sudo apt install screen nano wget git
5555
```
5656

5757
Install the Java package:
5858

5959
```sh
60-
~$ sudo apt install openjdk-16-jdk
60+
$ sudo apt install openjdk-24-jdk
6161
```
6262

6363
To avoid security vulnerabilities on your system, create a user named "minecraft" who will carry out the server actions:
6464

6565
```sh
66-
~$ sudo adduser minecraft --disabled-login --disabled-password
66+
$ sudo adduser minecraft --disabled-password
6767
```
6868

6969
Simply press the `Enter`{.action} key to skip filling in the usual account information.
@@ -73,7 +73,7 @@ The user is now created. Note that no password was specified for this user. This
7373
Switch to the new user:
7474

7575
```sh
76-
~$ sudo su - minecraft
76+
$ sudo su - minecraft
7777
```
7878

7979
> [!primary]
@@ -84,7 +84,7 @@ Switch to the new user:
8484
To complete the setup preparations, create a folder named `server`.
8585

8686
```sh
87-
~$ mkdir ~/server && cd ~/server
87+
$ mkdir ~/server && cd ~/server
8888
```
8989

9090
### Step 2: Install your Vanilla Minecraft server
@@ -94,9 +94,9 @@ To complete the setup preparations, create a folder named `server`.
9494
> A "Vanilla" server is an instance without any add-ons or plugins. You will experience the game the way it was created by the developers.
9595
>
9696
97-
First you will need to copy/paste the download link for the server software. On the official [Minecraft website](https://minecraft.net/download/server), right-click on the download link and select `Copy Link Location`{.action} from the context menu.
97+
First you will need to copy/paste the download link for the server software. On the official [Minecraft website](https://minecraft.net/download/server){.external}, right-click on the download link and select `Copy Link`{.action} from the context menu.
9898

99-
![Server download](images/download_jar.png){.thumbnail}
99+
![Server download](images/download_jar_file.png){.thumbnail}
100100

101101
Back in your command line terminal, make sure you are still in the `server` folder and use `wget` to download the file. Replace `download_link` with the actual URL from your clipboard.
102102

@@ -110,7 +110,7 @@ Before launching the server, you need to agree to the End User License Agreement
110110
~/server$ echo "eula=true" > eula.txt
111111
```
112112

113-
A file named `eula.txt` is now located at the root level of your server, containing the line `eula=true`. This will tell the software that you accept the Minecraft EULA. We invite you to review the terms and conditions on the [Minecraft website](https://www.minecraft.net/).
113+
A file named `eula.txt` is now located at the root level of your server, containing the line `eula=true`. This will tell the software that you accept the Minecraft EULA. We invite you to review the terms and conditions on the [Minecraft website](https://www.minecraft.net/){.external}.
114114

115115
Your server can now be started.
116116

@@ -140,15 +140,32 @@ You can also press `Ctrl`{.action}, then `a`{.action}, then `n`{.action} on your
140140

141141
In the previously created `minecraft1` shell, launch the Minecraft server with the following command. (Use `ls` to verify the filename in case it differs.)
142142

143+
```sh
144+
~/server$ java -Xmx1024M -Xms1024M -jar server.jar nogui
145+
```
146+
147+
- `Xmx1024M`: This sets the server to start up with 1024 MB or 1 GB of RAM. This limit can be increased if you want your server to start up with more RAM.
148+
- `Xms1024M`: This sets the server to use a maximum of 1024M RAM. You can increase this limit if you want your server to run with more RAM, to accommodate more players, or if you have the impression that your server is running slowly.
149+
- `jar`: Specifies which server jar file to run.
150+
- `nogui`: This instructs the server not to launch a GUI, since it's a server and you don't have a GUI.
151+
152+
Alternatively, you can use the command below instead:
153+
143154
```sh
144155
~/server$ java -jar server.jar
145156
```
146157

158+
Once the server is operational, you will get the following result:
159+
160+
```console
161+
[14:52:58] [Server thread/INFO]: Done (41.530s)! For help, type "help"
162+
```
163+
147164
To shut down your server, enter the command `stop`.
148165

149166
### Step 3: Connect to the server
150167

151-
Your server instance is now functional. To play the game, download the Minecraft client from the official [Minecraft website](https://www.minecraft.net/).
168+
Your server instance is now functional. To play the game, download the Minecraft client from the official [Minecraft website](https://www.minecraft.net/){.external}.
152169

153170
Install and launch the client for your operating system and sign in.
154171

@@ -160,11 +177,11 @@ On the next screen, enter the server name in the field `Server Name`, and the IP
160177

161178
By default, no port needs to be specified.
162179

163-
## Conclusion
180+
### Conclusion
164181

165182
Your Vanilla Minecraft server is now installed on your VPS.
166183

167-
Please note that this installation guide should also work on an OVHcloud [dedicated server](https://www.ovhcloud.com/asia/bare-metal/) or a [Public Cloud](https://www.ovhcloud.com/asia/public-cloud/) instance. With those services, you will have the advantage of better stability since the hardware is dedicated.
184+
Please note that this installation guide should also work on an OVHcloud [dedicated server](/links/bare-metal/bare-metal) or a [Public Cloud](/links/public-cloud/compute) instance. With those services, you will have the advantage of better stability since the hardware is dedicated.
168185

169186
## Go further <a name="gofurther"></a>
170187

0 commit comments

Comments
 (0)