
Start by creating the following file with nano or your preferred text editor:.It also gives you an easy way stop the restart the server. $ sudo chown -R minecraft /opt/minecraft/survival/Īdding a Minecraft startup script to SystemD will make it really convenient to start your Minecraft server any time you need to put it up, such as after a system reboot. Lastly, we need to give our minecraft user account ownership on the Minecraft server directory:.


$ sudo bash -c "echo eula=true > /opt/minecraft/survival/eula.txt"
Download minecraft jar install#
Download minecraft jar update#
Open a terminal and type the following two commands: $ sudo apt update There are a few packages we’ll need in order to run the Minecraft server, so let’s start by installing them. $ – requires given linux commands to be executed as a regular non-privileged user # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command Privileged access to your Linux system as root or via the sudo command. Minecraft, plus Java and various prerequisites Installed Ubuntu 20.04 or upgraded Ubuntu 20.04 Focal Fossa Requirements, Conventions or Software Version Used Ubuntu 20.04 Minecraft Server Setup Software Requirements and Linux Command Line Conventions Category Provision new Minecraft server instance on the same host.Create Minecraft SystemD startup script.
Download minecraft jar how to#

Just check out our other guide about how to install Minecraft on Ubuntu 20.04 Focal Fossa Linux. In case you’re also wondering how to play Minecraft on Ubuntu 20.04, we’ve got you covered for that too. Follow along below as we take you through the steps to get your Minecraft server up and running. Ubuntu 20.04 Focal Fossa is a top choice for hosting a Minecraft server, as Linux is known for its stability when running servers and Ubuntu is known for its ease of use. You may want to create a private server for just you and your friends, or make it public for everyone to access. You get to choose what settings are used on the server, you can use (or abuse) your admin powers for an advantage, and bestow those powers on to your fellow gaming buddies. The beauty of having your own Minecraft server is that you’re totally in charge of your gaming experience.
