Check that your PC meets the server requirements
Install the latest Java version if needed
Download the official Minecraft server .jar file
Create a new folder for the server files
Move the server .jar file into that folder
Open a terminal or command prompt in the server folder
Run the server once to generate the required files
Open the eula.txt file
Change eula=false to eula=true
Save the eula.txt file
Run the server again
Adjust server.properties if needed
Allow Java through your firewall
Find your local IP address
Set up port forwarding on your router for port 25565
Share your public IP address with players
Keep the server running while others connect
Back up the world folder regularly
Update the server files when needed
