


When I was watching the processor usage (while the server was up), it was idling around 60% with no one on the server and 80-90% when some one was on. Is there anyway to get the gui activated?Ģ.) Is there a way to properly shut down the server manually? Maybe a command to run in the terminal?ģ.) Is there a way to shut down the server automatically on system shut down? When it does this, can I make it save the map and back it up to a compressed folder?Ĥ.) This is a curiosity question: Before this method, I was booting the Minecraft server from the terminal. I do, however, have a few questions:ġ.) I setup my bash file to enable the gui but it doesn’t show up. This article was super helpful! Thank you for posting this. #chmod +x /root/start_minecraft_server.bash Its contents are below.Įxec java -Xmx2048M -Xms2048M -jar minecraft_server.1.12.2.jar nogui In the example above, systemd is configured to run the script “/root/start_minecraft_server.bash”. Mine is called system]# cat rviceĮxecStart=/root/start_minecraft_server.bash These instructions should work on RHEL 6/7, Centos 6/7, or any other Linux that utilizes systemd for starting services.Ĭhange directory to the systemd directory.Ĭreate a systemd service file using your favorite text editor. There are tons of guides on how to install Minecraft on Linux, but I did not find much of anything that details how to get the software to start at boot-time via systemd.īelow are the steps that I took.

I decided to local host a small Minecraft server on a RHEL 7 vm. I am not into Minecraft, but my kids are.
