Last active
July 26, 2017 16:35
-
-
Save greg-kennedy/b41bc8f5775a675cbe0ad6efa486b12c to your computer and use it in GitHub Desktop.
Minecraft Server on Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The Minecraft Distro (on Ubuntu) | |
## Install packages | |
* OpenJDK8 | |
* perl | |
* <web server> | |
## Create user minecraft:minecraft | |
## Install minecraft vanilla server from Mojang | |
## Unpack minecraft-server.pl into minecraft homedir | |
## Unpack minecraft-announce.pl into minecraft homedir | |
## Unpack web docs into www root | |
## Custom Service Files | |
* minecraft-server | |
* minecraft-server-announce | |
## Enable UFW | |
systemctl ufw enable | |
ufw enable | |
ufw allow ssh/tcp | |
ufw allow http/tcp | |
ufw allow 25565/tcp | |
## Reboot and play! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment