How to install a Minecraft server
If you want to install a Minecraft server in 2025, this guide will take you through the essential steps. Whether you want to play privately with friends or build a large community, setting up your own hebergeur Minecraft gives you full control and customization. You can manage plugins, mods, and settings according to your needs.
1. Download Minecraft server files
Go to the official Minecraft server download page and get the latest server.jar
. Create a dedicated folder for your server and place the file inside it.
2. Install Java
Minecraft requires Java to run. Download and install the latest version of Java JDK suitable for your operating system. Verify the installation by typing java -version
in your terminal or command prompt.
3. Configure server files
Run the server.jar
once to generate configuration files. Open eula.txt
and change eula=false
to eula=true
to agree to Mojang’s license. You can then edit server.properties
to set the server name, difficulty, max players, and other options.
4. Open ports and set up networking
To allow others to join your Minecraft server, you must open port 25565
on your router or firewall. This step is crucial for players outside your network to connect. If you are using a location Minecraft solution (hosting), these ports are usually pre-configured.
5. Add plugins or mods
For a vanilla server, you don’t need any extras. But if you want custom gameplay, you can install plugins with Paper or mods with Forge. Place the files in the plugins
or mods
folder and restart your server.
6. Launch and join your server
Start your server with a command like:
java -Xmx4G -Xms2G -jar server.jar nogui
You can now join your server using your IP address. Share it with friends, or configure DNS if you want a custom domain.
FAQ
Can I install a Minecraft server on Linux?
Yes, Linux is one of the most efficient systems for hosting Minecraft servers due to its performance and stability.
How much RAM do I need?
For a small server (up to 10 players), 2 GB is enough. For larger servers with mods, you may need 8 GB or more.
Do I need to keep my computer running?
Yes, unless you use a professional hebergeur Minecraft. With hosting, the server stays online 24/7 without needing your PC.