2.6 KiB
id | title | sidebar_label |
---|---|---|
minecraft-server-installieren | Install Minecraft Server (v1.17) | Minecraft Server |
This guide explains how to install a simple Minecraft Java server on your Linux vServer, Root Server, or Dedicated Server.
Information
Minecraft is a popular open-world game that revolves around blocks, blocks, and even more blocks.
🐧 Server Installation
First, log into your server via SSH as the root user.
-
Update the server package sources:
sudo apt update && sudo apt upgrade
-
Install Java (8):
sudo apt install openjdk-8-jre-headless
-
Install Screen (session manager):
sudo apt install screen
-
Configure the firewall (UFW):
sudo ufw allow 25565
-
Download the desired Minecraft version (example: 1.17):
wget https://launcher.mojang.com/v1/objects/0a269b5f2c5b93b1712d0f5dc43b6182b9ab254e/server.jar
Note: Use
wget
to download the.jar
file or manually upload it via SFTP/FTP client. -
Start a screen session (so the server keeps running after closing SSH):
screen
The screen information text can be skipped with SPACE (spacebar).
-
Start the Minecraft server with 1024MB RAM:
java -Xms1024M -Xmx1024M -jar server.jar nogui
-
Accept the Minecraft EULA:
After the first start, you must accept the EULA license agreement from Mojang.
Open the EULA file using nano:
nano eula.txt
Change the line
eula=false
toeula=true
, then save and exit. -
Start the server again:
java -Xms1024M -Xmx1024M -jar server.jar nogui
-
Keep the server running after closing SSH:
Leave the screen session with CTRL + A + D. -
Reconnect to the Minecraft console later:
screen -r
If multiple screens exist, list them with:
screen -ls
Then reconnect with:
screen -r [session-id]
💻 Minecraft Client Setup
- Launch your Minecraft client.
- Go to Multiplayer > Add Server.
- Enter your server's IP address and port (
IPV4:25565
). - Join and start exploring the infinite block world!
✔ The installation is now complete!
⚠ Important Notes
- If you are using our KVM-Flex service, an additional IPv4 address must be purchased to allow external connections to your Minecraft server.
- If you encounter any questions or issues, please contact us via:
- Live Chat
- Ticket System
- Discord