
If you do not have a Minecraft account, then you may use the Quartermyle account when granting permissions and whitelisting.įinally, you will need to create a systemd service for your Minecraft server so that the Linux operating system can properly manage your Minecraft server instance. Once you have your Minecraft server deployed, you will want to grant your Minecraft account operator status and enable the server whitelist (don't forget to whitelist your account!) to ensure that only white-listed user accounts can join your server.
Minecraft server jar opens then closes install#
To solve this problem, you are going to create your very own Minecraft server on Linux!įor this, you have been provided with a CentOS 7 Linux server on which you will need to install a Java 11 JRE and deploy the latest Minecraft server JAR file to /opt/minecraft as the minecraft user. You and a few of your friends want to play Minecraft together, but don't want to spend a bunch of money to rent a Minecraft server. In the "Multiplayer" menu, add a new server using the public IP address of your lab server.Start your Minecraft game client with the same version of Minecraft as your server.(Optional) Join Your Minecraft Server Using the Minecraft Game Client Start your Minecraft server using systemctl.Enable the Minecraft server to start on system boot.Create the systemd minecraft service file.Whitelist your Minecraft account (use Quartermyle if you do not have a Minecraft user account).Ĭreate a systemd Service for Your Minecraft Server and Enable On-Boot Startup.Grant your Minecraft account operator status (use Quartermyle if you do not have a Minecraft user account).Whitelist and Grant Operator Status to Your Minecraft User Account on the Minecraft Server As the minecraft user, execute the server.jar to create the rest of the server files.
Minecraft server jar opens then closes download#
Download the latest Minecraft server JAR to the installation directory.Change the user and group ownership of the installation directory to minecraft.Create the minecraft installation directory.Create a minecraft user account and group.ĭownload and Deploy the Minecraft Server JAR.Successfully complete this lab by achieving the following learning objectives: Prepare the Server with a Java 11 JRE and a Minecraft User Account
