Skip to content

Commit aeb47fd

Browse files
committed
Add some screenshots for firewall configuration and configuration fo server in the Minecraft client
1 parent d8c1094 commit aeb47fd

6 files changed

Lines changed: 26 additions & 9 deletions

File tree

143 KB
Loading
116 KB
Loading

content/learning-paths/servers-and-cloud-computing/minecraft-on-oci/minecraft-client-connect.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,16 @@ Before we connect to the Minecraft server, we will change the network policy to
1414
connect to the Minecraft server over TCP port number 25565. To do this, we need to modify the
1515
networking settings for our instance in the OCI dashboard.
1616

17-
1. On the OCI Instances page, choose your Mnecraft server instance.
18-
2. In the Networking tab, click on the subnet attached to the instance.
17+
1. On the OCI Instances page, choose your Minecraft server instance.
18+
2. In the Networking tab, click on the subnet name:
19+
![OCI instance networking](OCI_instance_networking.png)
1920
3. On the Security tab of the subnet page, choose the security list which is active for the instance
2021
(by default, this is called "Default Security List for vcn-xxxxxxxx")
22+
![Default Security List for subnet](subnet_security_list.png)
2123
4. Under "Security rules", add a new Ingress rule (this means the rule applies to incoming traffic
2224
from outside the instance). Set "Source CIDR" to "0.0.0.0/0" (this means all IP addresses can
2325
connect), and set the "Destination Port Range" field to 25565.
26+
![Open port 25565 for Minecraft server](open_minecraft_port.png)
2427

2528
You will also need to update your local firewall to allow connections to port 25565 on your instance.
2629
Reconnect to your instance with SSH, and run the following commands on Oracle Linux:
@@ -34,7 +37,8 @@ sudo ufw allow 25565/tcp
3437
sudo ufw reload
3538
```
3639

37-
You should now be able to run your Minecraft server, log in as usual, and connect to your brand new server!
40+
You should now be able to run your Minecraft server on the OCI instance, then start your client, log in as
41+
usual, and connect to your brand new server!
3842

3943
### Connecting to the server from the Minecraft client
4044

@@ -43,9 +47,13 @@ You should now be able to run your Minecraft server, log in as usual, and connec
4347
by Mojang.
4448
3. To add your server to the menu of available servers, choose "Add server", name your server
4549
something meaningful ("My OCI server" for example) and put the IP address of your instance into the
46-
"Server Address" field.
50+
"Server Address" field:
51+
![Configuring new server](configuring_new_minecraft_server.png)
52+
53+
You can now join the server and start building!
54+
![Connecting to your new server running on OCI](connecting_to_server.png)
55+
56+
You can also share the address with your friends to start building a shared world. Have fun!
4757

48-
You can now join the server and start building! You can also share the address with your friends to start
49-
building a shared world. Have fun!
5058

5159

content/learning-paths/servers-and-cloud-computing/minecraft-on-oci/minecraft-server-install.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@ layout: learningpathall
1010

1111
### Installing the Java Runtime Environment
1212

13-
Before we install the Minecraft server, we need to make sure that there are some prerequisites installed.
14-
For the Minecraft 26 server or earlier, we will need Java 25. We can install this on Oracle Linux with:
13+
Before we install the Minecraft server, we need to make sure that there are some prerequisites
14+
installed. For the Minecraft 26 server or earlier, we will need Java 25.
15+
16+
Connect to your instance using SSH as described in the previous step. We can install Java 25 on
17+
Oracle Linux with:
1518
```
1619
sudo dnf install java-25-openjdk
1720
```
@@ -21,6 +24,11 @@ sudo apt install openjdk-25-jre
2124
```
2225
Since the Minecraft server starts on the command line, you may also want to install the `screen` or
2326
`tmux` utilities which allows commands to keep running after you disconnect from the server.
27+
These commands are not strictly necessary, but you will need them to be running if you want to keep
28+
the server running when you disconnect from your SSH session.
29+
30+
Running the Minecraft server at start-up, or keeping it running when you are not connected, will
31+
not be covered in this learning path.
2432

2533
### Downloading and installing the Minecraft server
2634

@@ -71,5 +79,6 @@ that the process has completed successfully (timestamps will be different at the
7179
[00:41:04] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
7280
```
7381

74-
Your Minecraft server is now running - you can connect to it with the Minecraft client.
82+
Your Minecraft server is now running - you can connect to it with the Minecraft client. Congratulations!
83+
7584

90.9 KB
Loading
54.6 KB
Loading

0 commit comments

Comments
 (0)