This setup is optimized to run a lightweight Minecraft Bedrock Dedicated Server on an Oracle Cloud Free Tier VM with 1GB RAM. It includes swap setup, systemd-based service for auto-start, and clean directory structure.
-
✅ Ready-to-use Bedrock server ZIP. No need to download from Mojang manually — just upload and install.
-
🔁 Auto-start on reboot with
systemd. Your server comes back online automatically after a restart. -
⚙️ Managed with
systemctl. Start, stop, or restart cleanly with simple commands — noscreenneeded. -
🧠 1GB Swap file setup. Helps prevent crashes on 1GB RAM Oracle Cloud VMs.
-
🔧 Pre-tuned server.properties Recommended settings included for best performance and stability.
-
🧼 Clean folder structure. Separates server files from setup scripts for easy updates.
Minecraft/
├── bedrock/
│ ├── bedrock_server
│ ├── server.properties
│ └── bedrock-server.zip
├── backup/
│ └── (world files...)
└── bedrock-server-oracle/
├── install.sh
├── start.sh
├── download.sh
├── README.md
├── bedrock-server-<version>.zip
├── backup/
├── uninstall/
└── restore/
git clone https://github.com/jleonoras/bedrock-server-oracle.git ~/Minecraft/bedrock-server-oracle
cd ~/Minecraft/bedrock-server-oracle
chmod +x install.sh start.sh download.shRun the download script. It will prompt you to paste the download link for the server.
./download.sh- The script will show you the official Minecraft download page URL.
- Go to that page in your browser.
- Find the Linux server download link, right-click it, and select "Copy Link Address".
- Paste the copied link into the terminal when prompted and press Enter.
The script will then download the server ZIP file into the ~/Minecraft/bedrock-server-oracle/ directory.
./install.shThis script will:
- Install required packages
- Set up
~/Minecraft/folder structure - Extract the Bedrock server
- Create 4GB swap file
- Set up and enable a
systemdservice
The installer automatically enables minecraft-bedrock.service, so the server starts on boot.
You can manage the server using standard Linux service commands:
sudo systemctl start bedrock
sudo systemctl stop bedrock
sudo systemctl restart bedrock
To check its status:
sudo systemctl status bedrockThe actual server runs in the background using a screen session, launched by systemd.
To interact with it manually:
screen -lsscreen -r bedrockWhile inside the screen:
Ctrl + A, then D
-
Check memory usage:
free -h top
-
Stop the server:
Inside the screen, press Ctrl + C to stop the server.
- Oracle Cloud Console
-
Navigate: Networking → VCN → Subnets → Security Lists
-
Add a new Ingress Rule:
- Protocol: UDP
- Port:
19132 - Source CIDR:
0.0.0.0/0
- In your VPS (Ubuntu/Debian)
If using ufw:
sudo ufw allow 19132/udp
sudo ufw reload- 💡 Skip if
ufwis not enabled. (sudo ufw status)
- Platform: Bedrock Edition (Mobile, Windows 10, Console)
- Server IP: Your Oracle Cloud public IP
- Port:
19132(default) - Works with all compatible Bedrock clients
Edit the file:
nano ~/Minecraft/bedrock/server.propertiesSuggested config:
max-players=5
view-distance=5
tick-distance=3
player-idle-timeout=10
white-list=true
online-mode=true
See Uninstall Guide
If this project helped you, please consider supporting:
Thanks for helping keep the blocky goodness alive! 🧱💖