Skip to content

Instantly share code, notes, and snippets.

View JamesAnunda's full-sized avatar
🏠
Working from home

Chris Anunda JamesAnunda

🏠
Working from home
View GitHub Profile
@justincjahn
justincjahn / README.md
Last active January 16, 2024 20:15
Minecraft server(s) using systemd and screen.

Install

# Install dependencies
sudo yum install -y java-1.8.0-openjdk screen

# Create a new unprivileged user for minecraft
useradd -r -m -d /opt/minecraft minecraft

# Create the directory that will house our minecraft instances

sudo su --shell /bin/bash minecraft