BYO Main Page

From MineOS Wiki
Jump to navigation Jump to search

Foreword

There are hundreds of guides, handbooks, tutorials, videos, and walkthroughs on how to accomplish any given Linux task. build-your-own MineOS is one of those (or all of them), but with a single twist: it is specifically tailored to create a Minecraft server. In this way, I greatly simplify the process by filtering out all the overwhelming and unnecessary tasks listed in normal guides, and I can focus strictly on the Minecraft-relevant ones; I provide a targeted approach to building Linux, learning its internals, and successfully hosting Minecraft.

Goals

The original MineOS (and the community-run MineOS+) is aimed at creating the smallest possible minecraft server, automating the process as much as possible for the user, while compromising none of Linux' capabilities.

build-your-own MineOS is a entirely different project which does not attempt to replace MineOS/+. Instead, byo MineOS is an educational tool which aims to teach server admins about what components MineOS uses, walks you through how to properly add and configure each, and help you get a fully comprehensive understanding of how each mechanic makes for the best possible server.

Who would build their own Linux/MineOS?

build-your-own MineOS is not a right-out-of-the-box solution. I will try my absolute best to provide all the steps required--from start to finish--to build it from the ground up, but doing so requires time, discipline, and an unwavering enthusiasm to learn. Expect to read through and execute steps more than once. Breaking Linux is the #1 to understand what is going on in the background, and getting everything working the first time probably means you are not experimenting. I promise you, repetition is the recipe for learning Linux from the inside-out.

build-your-own MineOS is not going to create a distribution like the already-existing MineOS, based on the microcore distrobution. byo MineOS uses CRUX Linux. From the CRUX website,

CRUX is a lightweight, i686-optimized Linux distribution targeted at experienced Linux users. The primary focus of this distribution is keep it simple, which is reflected in a straightforward tar.gz-based package system, BSD-style initscripts, and a relatively small collection of trimmed packages.

This provides an ideal starting point for learning, providing a perfect balance between the flexibility and control of Linux from scratch (which is exceedingly unforgiving of mistakes) and a standard server which provides no Minecraft-related instruction (such as Ubuntu Server).

Getting started

For simplicity and convenience, these tutorials use VirtualBox. Virtualbox is the best way to learn byo MineOS because of the rollback capabilities, ability to multitask in your normal OS, and standardization of hardware. While CRUX Linux (and thus byo MineOS) can be installed on ANY hardware, failure to identify your hardware and build it into the kernel can cause lots of time-waste and unnecessary frustration for the Linux novice.

CRUX Linux iso (~231 MB) from the CRUX download page

Virtualbox installer (~81 MB) from Oracle

Congratulations on deciding to learn Linux!

There are instructions to walk you through every step to build your own MineOS!

  • ramdisks
  • iptables (firewall)
  • web server
  • python
  • mysql / sqlite
  • java
  • crontabs
  • network configuration
  • user-management
  • c10t mapping from source
  • rdiff-backup from source
  • kernel compiling from source