1. Download server installer from the link: https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.19.4-45.0.49/forge-1.19.4-45.0.49-installer.jar

2. Make sure Java is installed.
3. Launch installer.jar
4. Choose "Install Server" and point to the folder this file is in.
5. Launch run.bat. This will create an eula.txt file.
6. Open eula.txt, read the url and if you accept change eula=false to eula=true.
7. Launch run.bat again to start the server.
8. Change server.properties to the settings you'd like.
9. You might need to portforward your ports for others to join your server.
10. Enjoy!