Container-based Minecraft Bedrock Server for Ubuntu
Author: mrccie
Copyright: 2020, mrccie
Date: 6-DEC-2020
Version: 1.0
mc_bedrock_server is a package designed to install Docker and spin up containers for as many Bedrock Minecraft servers on a Ubuntu 20 host as you might want. Hopefully this package will let you focus on what's important (playing Minecraft) and offload what isn't (the mundane setup stuff). It's really just supposed to enable a halfway techie person to spin up all the system stuff and dependencies without having to leverage Google... while also making it repeatable enough that you don't have to worry too much about software/hardware failures blowing away a bunch of custom/one-off stuff.
This package will also - optionally - enable a (very basic) backup strategy to add backups to a local folder in the middle of the night. It's on you to put the files it backs up into the cloud or USB (or whatever).
This package is 100% a hack to make itzg's minecraft bedrock server (docker: https://hub.docker.com/r/itzg/minecraft-bedrock-server) a little easier for me to use. itzg is the person that did 99.99% of the magic here, not me.
This solution has been tested on the following hardware:
- Platform: Intel i7 7700 (4x CPU), 16GB of RAM, 256GB NVMe
- Hypervisor: VMWare ESXi
Installed and run successfully on 2x vCPU, 2GB RAM, 40GB Storage (running Ubuntu 20.04 LTS)
If you're installing on Ubuntu from scratch, you'll need to do a few things first.
During Setup:
- Disable DHCP, set a Static IP
- Enable OpenSSH Server
Update the operating system:
sudo apt-get update
sudo apt-get -y upgrade
Set your local timezone:
sudo timedatectl set-timezone America/New_York
This is just on Git for now.
Pre-requisites:
- Ubuntu has internet connectivity
- Terminal access to the Ubuntu server (local or via SSH)
Install git:
sudo apt-get install -y git
Configure git:
git config --global user.email "<email>"
git config --global user.name "<username>"
Make a directory to clone this repository to:
mkdir git
cd git
Clone this repository:
git clone https://github.com/mrccie/mc_bedrock_server
Go into the repository directory:
cd mc_bedrock_server
Use the install script:
./install.sh