Choose the Minecraft version you want to run
Install the matching mod loader or server platform such as Forge, Fabric, or Quilt
Download the server files for that mod loader
Create a new folder for the server
Place the server files into the folder
Run the server installer or first launch script
Accept the EULA by editing the eula.txt file and setting eula=true
Download the mods you want to use
Put the mod files into the server mods folder
Make sure all mods match the same Minecraft version and loader
Install any required dependencies or libraries for the mods
Allocate enough RAM for the server in the startup script
Open the server.properties file and adjust settings as needed
Set the correct port forwarding on your router if hosting publicly
Allow the server through your firewall
Start the server using the launch script or jar file
Verify that the server starts without errors
Install the same mods on every player client
Connect to the server using the local IP or public IP address
Update mods and server files together when changing versions
Back up the server world and config files regularly
