Install Java
Download the Minecraft server .jar file from the official Minecraft website
Create a new folder for the server
Move the server .jar file into the folder
Open a command prompt or terminal in the server folder
Run the server .jar file with Java
Accept the EULA by editing the eula.txt file and setting eula=true
Run the server .jar file again
Edit the server.properties file to configure settings
Open port 25565 on your router and firewall
Find your public IP address
Share your IP address with players
Keep the server running while players are connected
