Minecraft wiki entry for Setting_up_a_server, associated text: 1 Warning
2 Java
2.1 OpenJDK vs OracleJDK
2.2 JRE vs JDK
2.3 Headless Java
3 Common instructions
3.1 Java options
3.2 Minecraft options
3.3 Example command line
4 Windows instructions
4.1 Installing Java
5 macOS instructions
5.1 Installing Java
5.2 Setting up the Minecraft server
5.3 Using Time Capsule
6 Linux instructions
6.1 Installing Java
6.1.1 Solus
6.1.2 Debian, Ubuntu, Raspbian
6.1.3 openSUSE
6.1.4 Arch Linux
6.1.5 Gentoo
6.1.6 Other distros
6.2 A simple installer script (also installs Java)
7 FreeBSD instructions
7.1 Installing Java
7.2 Launching Minecraft Server
8 Plan 9
9 Hostman
10 Cloudron
11 Docker
11.1 Getting docker (for Linux, Mac & Windows)
11.2 Docker image
11.3 Updating Docker image
11.4 Docker-Minecraft on Synology diskstation
12 Configuring the environment
12.1 Writing a script to launch the server
12.1.1 On Windows
12.1.2 On macOS, Linux, and FreeBSD
12.1.3 On Plan 9
12.2 Startup and maintenance script
12.3 Port forwarding
12.4 Setting up a VPN
12.4.1 Setting up Hamachi
12.4.2 Setting up Radmin VPN
12.5 Configuring the Minecraft server
13 Connecting to the Minecraft server
13.1 IP address notes
13.2 Firewalling, NATs and external IP addresses
13.2.1 Local network dedicated servers
13.2.2 The SRV record
14 FAQ (frequently asked questions)
15 Video/Alternative Tutorials