Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon

Creating Your Own Minecraft Java Edition Server on CentOS

Have you ever wanted to play Minecraft with your friends, or maybe your kids, but didn't want to have to spend money to rent expensive Minecraft servers? Have you ever then thought about creating your own Minecraft server, but got intimidated by the technical steps required to do so? In this hands-on lab, you will be provided with a CentOS 7 Linux server on which you will create your very own Minecraft Java Edition server! This lab will provide clarity not just on how to create a Minecraft server, but also on some Linux fundamentals.

Google Cloud Platform icon

Path Info

Clock icon Beginner
Clock icon 1h 0m
Clock icon Aug 06, 2020

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Prepare the Server with a Minecraft User Account

    1. Create a minecraft user account and group.
  2. Challenge

    Download and Deploy the Minecraft Server JAR

    1. Create the minecraft installation directory.
    2. Change the user and group ownership of the installation directory to minecraft.
    3. Download the latest Minecraft server JAR to the installation directory.
    4. As the minecraft user, execute the server.jar to create the rest of the server files.
    5. Accept the Minecraft server EULA.
  3. Challenge

    Whitelist and Grant Operator Status to Your Minecraft User Account on the Minecraft Server

    1. Enable the Minecraft server whitelist.
    2. Start Minecraft in the foreground.
    3. Grant your Minecraft account operator status (use Quartermyle if you do not have a Minecraft user account).
    4. Whitelist your Minecraft account (use Quartermyle if you do not have a Minecraft user account).
    5. Stop the Minecraft server.
  4. Challenge

    Create a systemd Service for Your Minecraft Server and Enable On-Boot Startup

    1. Create the systemd minecraft service file.
    2. Enable the Minecraft server to start on system boot.
    3. Start your Minecraft server using systemctl.
  5. Challenge

    (Optional) Join Your Minecraft Server Using the Minecraft Game Client

    1. Start your Minecraft game client with the same version of Minecraft as your server.
    2. In the "Multiplayer" menu, add a new server using the public IP address of your lab server.
    3. Join your Minecraft server.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans