The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →The reliable way to host a Minecraft: Java Edition server on a Linux VPS is to install the Java runtime required by the exact server JAR, run that JAR as a dedicated unprivileged user, accept the EULA, open TCP port 25565 in both firewalls, and keep the process under a service supervisor. The official Java server software is free to download; your costs are the VPS and any optional backups or protection.
Godlike.Host offers hosted Minecraft Java servers with its own game panel, SFTP access and free DDoS protection, if you would rather not host it yourself.
This guide covers Java Edition. Bedrock Dedicated Server is a separate package with different operating-system, memory, storage, and networking requirements.
As an Amazon Associate I earn from qualifying purchases.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
What you need before provisioning the VPS
Choose a Linux VPS with SSH access, a public IPv4 address, SSD or NVMe storage, enough CPU and memory for your player load, and controls for a provider-level firewall or security group. You also need permission to install packages, create users, and manage services.
- Linux distribution: Use a currently supported distribution. The commands below use Ubuntu or Debian conventions; package names and firewall commands differ on other distributions.
- SSH access: Have an administrator account or a provider console for the initial setup. SSH keys are preferable to passwords.
- Public address: Players need a reachable public IPv4 address unless you deliberately place the server behind another network design.
- Storage: Leave room for the world, generated regions, logs, backups, and future updates. World size grows as players explore.
- Firewall controls: You must be able to allow SSH and the Minecraft port separately at the VPS provider and inside Linux.
There is no official universal Java VPS sizing formula. Player count, render distance, simulation distance, mods, plugins, world size, CPU single-thread performance, memory headroom, network quality, geography, DDoS controls, snapshots, and backup features all affect the right plan. Do not use a client computer’s Minecraft requirements as a server-sizing calculation.
#1 Best Overall
- BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
- EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
- COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
- LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
- WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.
Java Edition and Bedrock are not interchangeable
| Characteristic | Java Edition server | Bedrock Dedicated Server |
|---|---|---|
| Server package | A Java archive (JAR) launched by a compatible Java runtime | A separate official Bedrock package |
| Linux requirement | Use a supported Linux distribution and the Java runtime required by the selected release | Ubuntu 22.04 LTS or later is listed as required |
| Official memory figure | No universal VPS minimum is specified | 4 GB RAM minimum is listed on the current Minecraft page |
| Listed storage | Depends on the world, logs, backups, and installed content | 180 MB to 1 GB is listed for the server package |
| Common network port | TCP 25565 | UDP 19132 |
A Java client cannot join a Bedrock server simply because both are called Minecraft. Install the package for the edition your players use, and open the corresponding protocol and port.
1. Patch Linux and create a dedicated account
Log in over SSH using your administrator account, apply security updates, then create a system account that owns only the Minecraft files. Running the game as root turns a server compromise or unsafe plugin into a full operating-system compromise.
sudo apt update
sudo apt full-upgrade -y
sudo adduser --system --home /opt/minecraft --group minecraft
sudo install -d -o minecraft -g minecraft /opt/minecraft/server
On a distribution that does not use apt, use its normal update and account-management tools. Keep the minecraft home and server directory writable by that account, not by root.
Lock down SSH before exposing the game
- Install your public SSH key and test a second session before changing authentication.
- Disable password authentication when you have confirmed key access and your provider offers a recovery console.
- Allow SSH only from trusted source addresses when your player-support workflow permits it.
- Keep an out-of-band provider console or recovery method available in case a firewall rule locks you out.
2. Install the Java runtime that matches the server release
Minecraft’s official documentation requires a compatible, up-to-date Java installation. The correct major version depends on the exact server JAR you download, so do not assume that one Java version works for every 2026 release. Read the release’s official instructions, install that runtime, and verify the binary before launching the server.
java -version
If the command is missing, install the headless OpenJDK package supplied by your distribution for the required major version. For example, an administrator might install a package named openjdk-<major>-jre-headless; replace the variable with the major version documented for your JAR. Avoid installing several competing Java runtimes until you know which executable your service will use. Record the output of java -version for later troubleshooting.
3. Download the official server JAR
Download the official minecraft_server.<version>.jar from Minecraft’s Java server download page. Copy the exact download URL shown for the release you intend to run; release names and URLs change, so do not reuse an old link from a forum post. Save the file in /opt/minecraft/server and make the dedicated account its owner.
Rank #2
- WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
- AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
- PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
- ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
- COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed
sudo chown minecraft:minecraft /opt/minecraft/server/minecraft_server.<version>.jar
sudo -u minecraft -H bash
cd /opt/minecraft/server
ls -lh
The JAR is free to download. A paid VPS, control panel, or managed host is optional infrastructure, not a requirement for obtaining the official server software.
4. Run it once, review the EULA, and initialize the files
Run the JAR once from the server directory. The initial launch creates files including eula.txt and server.properties, then stops because the EULA has not been accepted.
cd /opt/minecraft/server
java -jar minecraft_server.<version>.jar nogui
Read eula.txt. Change eula=false to eula=true only if you accept the Minecraft End User License Agreement. The following command performs only that exact change; use it after you have made your decision.
sed -i 's/^eula=false$/eula=true/' eula.txt
If the server reports an incompatible Java class version, stop and install the Java major version required by the JAR. If it cannot write files, correct ownership rather than running the server as root.
5. Configure server.properties deliberately
Open /opt/minecraft/server/server.properties with a text editor while logged in as the minecraft user. Property names are case-sensitive. Change only what you understand, and keep a copy of the working file before major edits.
| Setting | What to decide |
|---|---|
gamemode |
The default game mode for players who join without another saved mode. |
difficulty |
The world’s difficulty level. |
pvp |
Whether player-versus-player damage is enabled. |
spawn-protection |
How much protection the central spawn area receives from non-authorized players. |
max-players |
The connection ceiling you want to support; raising it does not create additional CPU or memory capacity. |
motd |
The message displayed in the multiplayer server list. |
server-port |
The listening TCP port. The usual Java value is 25565; change it only if your network design requires another port. |
Leave server-ip empty unless you have a specific reason to bind to one local interface. Binding it to the wrong address can make the server listen only on localhost or fail after an address change. Save the file and restart the server after property changes.
Rank #3
- Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
- Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
- Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
- ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
- Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)
6. Open the network path on both firewalls
A server that runs locally can still be unreachable from the internet. Permit TCP 25565 in the VPS provider’s firewall or security group, then permit the same port in Linux. Keep the SSH rule for your actual SSH port; the example below assumes port 22.
sudo ufw allow 22/tcp
sudo ufw allow 25565/tcp
sudo ufw enable
sudo ufw status verbose
If your distribution uses firewalld or nftables instead of UFW, create equivalent rules. Do not open broad ranges when two specific ports are sufficient. After the service starts, test from a different network rather than relying only on a local connection.
Do these 3 things before closing this tab:
1Clear out junk files and repair common Windows errors2Scan for outdated or missing drivers - takes under a minute3Repair Windows errors before they cause bigger problemsPlayers normally enter the VPS public IP address. If the server uses the default port, clients generally do not need to type a port suffix; when you choose a non-default port, provide the address in the form public-ip:port. Treat the public IP as sensitive operational information and avoid publishing management ports.
7. Keep the server running after SSH disconnects and reboots
Closing an SSH window should not terminate the world. A systemd service is a practical supervisor on most modern Linux VPSs. Create /etc/systemd/system/minecraft.service as root and point it at the exact JAR filename you downloaded.
[Unit]
Description=Minecraft Java Edition server
After=network-online.target
Wants=network-online.target
[Service]
User=minecraft
Group=minecraft
WorkingDirectory=/opt/minecraft/server
ExecStart=/usr/bin/java -jar /opt/minecraft/server/minecraft_server.<version>.jar nogui
Restart=on-failure
RestartSec=10
KillSignal=SIGINT
[Install]
WantedBy=multi-user.target
The angle-bracketed token above represents your actual JAR filename; replace it in the unit file. If java is installed elsewhere, use the path returned by command -v java while logged in as the service user. Keep the service’s User, Group, and working directory tied to the unprivileged account.
Load and start the service:
sudo systemctl daemon-reload
sudo systemctl enable --now minecraft
sudo systemctl status minecraft
sudo journalctl -u minecraft -f
Use the server console or a controlled stop command before maintenance so the world is saved cleanly. If you prefer an interactive console, tmux can keep a foreground process alive after SSH disconnects, but it does not provide the same boot-time enablement and restart policy as systemd.
Rank #4
- Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
- Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
- 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
- Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
- USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC
8. Set memory and CPU expectations without guessing
No official source supplies one Java VPS RAM number that fits every world. The correct allocation depends on the variables in your server: concurrent players, view and simulation distances, redstone and entity activity, mods, plugins, world age, and how quickly new terrain is generated. CPU single-thread performance often matters during ticks, while storage latency affects chunk generation and saves.
Use a plan with headroom for Linux, Java, the world, and backups. Watch memory use, swap activity, CPU saturation, tick-time warnings, disk growth, and network throughput during the busiest expected session. Increase the VPS size or reduce simulation-heavy settings when the server cannot maintain its tick rate. Do not assign all physical memory to Java; the operating system and file cache need room.
SSD or NVMe storage, a nearby data center, dependable network quality, provider-level DDoS controls, snapshots, and off-server backups can matter more than a nominal core count. Re-evaluate sizing after adding a large modpack, plugins, or a major increase in player count.
Recommended Free Tools
9. Back up worlds and configuration, then test recovery
At minimum, back up the world directories, server.properties, eula.txt, whitelist and operator files, and any mod or plugin configuration. Keep copies off the VPS so a disk failure, account compromise, or accidental deletion does not remove both the live world and its backup.
Stop the service before a simple file-level archive to avoid capturing an inconsistent world:
sudo systemctl stop minecraft
sudo tar -czf /var/backups/minecraft-$(date +%F).tar.gz -C /opt/minecraft server
sudo systemctl start minecraft
Move the archive to separate storage, restrict its permissions, and retain more than one restore point. Periodically restore a copy into a separate directory or test VPS. A backup that has never been restored is an assumption, not a recovery plan.
Best Value
- Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
- Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
- Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
- Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
- Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.
10. Security and routine operations
- Apply Linux security updates on a schedule and reboot when the kernel requires it.
- Run Java and all server files as
minecraft, never as root. - Allow only SSH and the Minecraft port through the public firewall unless another service is intentional.
- Use SSH keys, restrict administrative access, and remove unused accounts.
- Keep server software, mods, and plugins from trusted sources and review permissions before installation.
- Monitor systemd logs, disk space, memory, CPU, and failed restarts.
- Back up off the VPS and test restoration.
- Keep the public IP out of unnecessary screenshots, posts, and configuration examples.
Connecting and diagnosing common failures
The client reports connection refused or times out
Confirm that systemd is active, that the process is listening, and that TCP 25565 is allowed at both firewall layers. Check that the client is using the VPS public IP rather than a private address and that server-port matches the port you opened. A timeout usually indicates routing or filtering; a refusal usually indicates that nothing is listening on that address and port.
The service exits immediately
Read the service log with sudo journalctl -u minecraft -b. Common causes are an incorrect JAR filename in ExecStart, an incompatible Java runtime, an unaccepted EULA, missing file permissions, or a port already occupied by another process.
Players experience lag or delayed block updates
Check CPU saturation, memory pressure, swap use, disk latency, and tick warnings. Reduce view or simulation distance and remove unnecessary entities or plugins before simply increasing the player cap. A larger VPS helps only when the constrained resource is the one you add.
The world or configuration disappears after an update
Stop the service, verify the working directory and ownership, and restore the last known-good archive. Keep each release’s JAR and configuration changes identifiable so you can roll back without overwriting the only copy of the world.
SSH stopped working after firewall changes
Use the provider’s recovery console to restore the correct SSH rule, then test a second SSH session before closing the first. Never enable a firewall remotely without confirming that your current management path is allowed.
Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchPC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11When Bedrock is the right target
Choose the official Bedrock package only when your players need Bedrock Edition compatibility. It is not the Java JAR with a different setting: it is separate server software, uses a different network protocol, and has its own operating-system requirements. The current Minecraft Bedrock page lists Ubuntu 22.04 LTS or later, 4 GB of RAM, and 180 MB to 1 GB of storage for the dedicated server package. A Linux guide centered on Java should therefore not be used as a Bedrock installation recipe. Bedrock’s commonly documented server port is UDP 19132, so opening only TCP 25565 will not make a Bedrock server reachable.
Quick Recap
Operational checklist
- Provision a Linux VPS with SSH, public IPv4, SSD or NVMe storage, firewall controls, and enough resource headroom.
- Patch the operating system and create the unprivileged
minecraftaccount. - Install and verify the Java major version required by the exact server JAR.
- Download the official JAR into
/opt/minecraft/serverand set ownership. - Run it once, review the EULA, and set
eula=trueonly after accepting. - Configure game mode, difficulty, PvP, spawn protection, player limit, MOTD, and port.
- Allow TCP 25565 at the provider firewall and Linux firewall.
- Run the process with systemd or another supervisor as
minecraft. - Connect from an external network and inspect logs for errors.
- Back up worlds and configuration off the VPS, then perform a test restore.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




