Posts

Showing posts with the label OCI

How to Reliably Run a Minecraft Server on OCI Using Systemd for Auto-Restarts

  In this guide, we will build on the previous tutorial for setting up a modded Minecraft server on Oracle Cloud Infrastructure (OCI). You will learn how to configure your Minecraft server to run as a systemd service, ensuring it starts automatically at boot and restarts in case of crashes. Step 1: Verify Your Server Setup Before proceeding, ensure that: You have completed the basic setup of a Minecraft server on OCI as outlined in the previous guide. The Minecraft server files are located in ~/minecraft and can be started with the command: java -Xmx8G -Xms8G -jar forge-*.jar nogui Replace 8G with your desired RAM allocation. Step 2: Create a Systemd Service File Open a terminal and switch to the root user: sudo su Navigate to the systemd configuration directory: cd /etc/systemd/system Create a new service file for your Minecraft server: nano minecraft.service Add the following configuration to the file: [Unit] Description=Minecraft Server After=network.targe...

How to Set Up and Run a Minecraft Server with Forge and Mods on OCI Free Tier

  How to Set Up and Run a Minecraft Server with Forge and Mods on OCI Free Tier Oracle Cloud Infrastructure (OCI) offers a generous always-free tier, making it a fantastic option to host a modded Minecraft server. This guide will walk you step-by-step through setting up a Minecraft server with Forge and mods, even if you’re a complete beginner. Step 1: Sign Up for Oracle Cloud Free Tier Visit Oracle Cloud’s Free Tier page . Click on "Start for Free" and create an account. You’ll need to provide a valid email, phone number, and credit card for verification (no charges will be made). Once your account is set up, log in to the Oracle Cloud Console. Step 2: Create a Virtual Machine Instance In the Oracle Cloud Console, go to Compute > Instances . Click on "Create Instance" . Fill in the details: Name : Enter "MinecraftServer". Image and Shape : Click "Edit" next to "Image and Shape". Image : Select Ubuntu 24.04 . Shape : Choose ...

Hosting a Free Minecraft Java or Modded Server: Exploring Free Tier Options and Tips

Running a Minecraft Java or modded server doesn’t have to break the bank. Whether you’re hosting for a small group of friends or experimenting with custom mods, free hosting solutions can provide a viable starting point. Platforms like Oracle Cloud Infrastructure (OCI) offer free tiers that are powerful enough to host Minecraft servers. This article explores some of the best free options for hosting Minecraft servers, their pros and cons, and how to get started. 1. Oracle Cloud Infrastructure (OCI) Free Tier OCI provides one of the most compelling free hosting options: What’s Included: 2 Always-Free Virtual Machines (VMs) with up to 4 ARM CPUs and 24 GB of RAM. 200 GB of block storage. 10 TB of outbound data transfer per month. Why It’s Great for Minecraft: The ARM-based Ampere A1 instances offer ample resources for small-to-medium-sized Minecraft servers. You can easily set up a Java-based or Forge modded Minecraft server. Setup Tips: Use a lightweight Linux distribution lik...