How to set up a free Minecraft Server in 2022 – Oracle Cloud Service – SSH Commands included



How to set up a free Minecraft Server in 2022 – Oracle Cloud Service – SSH Commands included

How to set up a free Minecraft Server in 2022 - Oracle Cloud Service - SSH Commands included

December 2022 update: Apparently Oracle ended the forever free servers and is now using the same model as AWS with a free 30 day trial

In this detailed tutorial, I show you how to set up a Minecraft Server on Oracle Cloud Service. This service is 100% free, but it needs some verifications on who you are.
We create an account, set up a virtual machine, create an SSH Key and log in with PuTTY.
Once in your server, we install Java and then the Java Minecraft Server.
In the end, we configure the Firewall to ensure you and your friends have access.

Downloads:

Oracle Cloud Server
https://www.oracle.com/cloud/free/

PuTTY
https://www.putty.org/

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

Commands
All commands start with $ but PuTTY is automatically creating that for you.

Install Java:
yum list jdk*

sudo yum install jdk-17.aarch64

Install MC Server:
wget https://launcher.mojang.com/v1/objects/125e5adf40c659fd3bce3e66e67a16bb49ecc1b9/server.jar

Start Server:
java -Xmx1024M -Xms1024M -jar server.jar nogui

Stop Server:
/stop

EULA text error:
nano eula.txt

ctrl+x to exit

Firewall:

0.0.0.0/0
25565

sudo firewall-cmd –permanent –zone=public –add-port=25565/tcp

sudo firewall-cmd –permanent –zone=public –add-port=25565/udp

sudo firewall-cmd –reload

Start Server:
java -Xmx1024M -Xms1024M -jar server.jar nogui

I am trying to get to at least 1000 Subscribers. So I at least get a couple dimes from all the ads YT is playing on my videos.
Fancy to help:
https://bit.ly/3145J13

Comments are closed.