top of page

Bedrock Edition

Bedrock_JE2_BE2.png

Lucky for us, bedrock is easier than Java by a mile. Not much to set up.

​

First, go to Mojang's website and grab the latest server files for Ubuntu.

​

https://www.minecraft.net/en-us/download/server/bedrock/

bedrock.jpg

Extract the files to its own folder named bedrock

​

Copy the folder bedrock to the directory /opt/minecraft. Navigate (cd) to ~/Downloads, or wherever the bedrock files are, and issue this:

​

    sudo cp -r bedrock /opt/minecraft

​

    sudo chown -R minecraft /opt/minecraft/bedrock

bedrock folder.jpg

If you haven't already, install a library called LibCurl to help the server client run. In the terminal from anywhere issue this command:

​

     sudo apt -y install unzip curl

​

Hit "y" when it asked if you want to continue.

Lastly, we need to make a service so the server can be started and stopped easily, and enabled at boot.

​

Open LeafPad (Start>Accessories>LeafPad) and paste this in (between the underscores):

​

_______________

​

[Unit]
Description=Bedrock Service
After=network.target

​

[Service]
User=minecraft
Group=minecraft

Type=Simple

WorkingDirectory=/opt/minecraft/bedrock
ExecStart=/bin/sh -c " ./bedrock_server"
TimeoutStopSec=20
Restart=on-failure

​

[Install]
WantedBy=multi-user.target


_______________

​

​

Save this as bedrock.service.  You can save it to ~/Documents.

​

Navigate (cd) to ~/Documents and issue these commands:

​

    sudo chmod u+x bedrock.service

    sudo cp bedrock.service /etc/systemd/system

​

​

​

Run the server!!!

​

Start and stop the service bedrock.service with systemd.

​

To enable it on boot, run the "enable" command for your modpack:

​

    sudo systemctl start bedrock

    sudo systemctl stop bedrock

    sudo systemctl status bedrock

    sudo systemctl enable bedrock

    sudo systemctl disable bedrock

​

​

As long as your port forwarding is correct, you can connect and play! It'll take a moment to start the server.

NOTE: If you plan on making your server open to the public, you'll need to take necessary precautions before opening up and giving out a path to your home network. Several STRONG recommendations include: SSH hardening, general OS hardening, logging, automatic OS updates, firewalls, intrusion detection/prevention.

​

All of the security-related guides linked are guidelines - a strong mindset of security is required to host public servers. Take it seriously so your home network isn't compromised. 

Minecraft Linux Server Install Guide

An enthusiast helping others to play Minecraft

Don't blame me if your home network gets hacked and you did nothing to prevent it

bottom of page