0% found this document useful (0 votes)
14 views2 pages

Linkk

This document provides a step-by-step guide to creating a Minecraft server on Oracle Cloud without hosting it on your PC. It includes instructions for downloading and configuring the OCI CLI, creating a compute instance, installing the Minecraft server software, configuring server settings, and connecting to the server. Additionally, it lists required and optional installations needed for the process.

Uploaded by

noobkhilesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views2 pages

Linkk

This document provides a step-by-step guide to creating a Minecraft server on Oracle Cloud without hosting it on your PC. It includes instructions for downloading and configuring the OCI CLI, creating a compute instance, installing the Minecraft server software, configuring server settings, and connecting to the server. Additionally, it lists required and optional installations needed for the process.

Uploaded by

noobkhilesh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

You want to create a Minecraft server on Oracle Cloud using your PC, but you don't

want to host the server on your PC. Here's how you can do it:

Step 1: Download and Install Oracle Cloud Infrastructure (OCI) CLI


1. Go to the Oracle Cloud website and download the OCI CLI installer for Windows.
(https://www.oracle.com)
2. Run the installer and follow the prompts to install the OCI CLI.

Step 2: Configure OCI CLI


1. Open a command prompt or terminal on your PC.
2. Run the command `oci setup config` to configure the OCI CLI.
3. Follow the prompts to enter your Oracle Cloud username, password, and other
details.

Step 3: Create a Compute Instance


1. Run the command `oci compute instance launch --compartment-id <compartment_id>
--availability-domain <availability_domain> --shape VM.Standard.E2.1 --image-id
<image_id>` to create a new compute instance.
2. Replace `<compartment_id>`, `<availability_domain>`, and `<image_id>` with the
actual values for your Oracle Cloud account.

Step 4: Install Minecraft Server Software


1. Connect to the compute instance using SSH: `oci compute ssh --instance-id
<instance_id>`.
2. Install Java: `sudo apt-get update && sudo apt-get install default-jre`.
3. Download the Minecraft server software: `wget
https://launcher.mojang.com/v1/objects/0a269b5f2c5b93b1712d0f5dc43b6182b9abbe/
server.jar`.
4. Create a new directory for the server: `mkdir minecraft-server`.
5. Move the server.jar file to the new directory: `mv server.jar
minecraft-server/`.

Step 5: Configure Minecraft Server Settings


1. Create a new file called `server.properties` in the `minecraft-server`
directory: `nano minecraft-server/server.properties`.
2. Add the following lines to the file:
```
server-name=Your Server Name
gamemode=survival
difficulty=easy
max-players=10
```
3. Save and exit the file.

Step 6: Start the Minecraft Server


1. Navigate to the `minecraft-server` directory: `cd minecraft-server`.
2. Run the server: `java -Xmx1024M -Xms1024M -jar server.jar nogui`.
3. The server will start and generate a world.

Step 7: Port Forwarding


1. Go to the Oracle Cloud Console and select the compute instance.
2. Click on "Actions" and select "Edit Virtual Network".
3. Add a new ingress rule for port 25565 (default Minecraft port).

Step 8: Connect to the Server


1. Open Minecraft and select "Multiplayer".
2. Click "Add Server" and enter the public IP address of the compute instance and
port 25565.
3. Join the server and start playing!
That's it! You now have a Minecraft server running on Oracle Cloud, and you can
play with your friends without hosting the server on your PC.

To create a Minecraft server on Oracle Cloud using your PC, you'll need to install
the following on your PC:

Required Installations
1. *Oracle Cloud Infrastructure (OCI) CLI*: This is a command-line tool that allows
you to interact with Oracle Cloud from your PC.
2. *SSH Client*: This is a software that allows you to connect to your Oracle Cloud
compute instance using SSH. (e.g., PuTTY on Windows or the built-in SSH client on
Mac/Linux)

Optional Installations
1. *Text Editor*: A text editor like Notepad or Sublime Text can be helpful for
editing configuration files.
2. *File Transfer Client*: A file transfer client like FileZilla can be helpful for
transferring files to and from your Oracle Cloud compute instance.

You don't need to install any Minecraft server software on your PC. The Minecraft
server software will be installed and run on your Oracle Cloud compute instance.

You might also like