![]()
You can use the ls command to view the contents of your directory, which should contain the server.jar file. AVATAR MINECRAFT SERVER JAVA DOWNLOADDepending on your internet speed, the server file should download relatively quickly. The final command should look similar to the one below. You will need to go to the Minecraft server download page and copy the link to the file for the latest version. Now, we need to use wget to download the latest version of the Minecraft server jar file. Afterward, we change directory into our new directory. We will need to create a directory to store our Minecraft server files. You can easily log out of Ubuntu by using the following command in the terminal. ![]() As we have made changes to our users groups you will need to log off and log back in for the changes to take affect. You can add the “ mcserver” group to our current user by using the following command. This will allow us to much easier read and edit files within their new home directory. After creating this new user we should add it’s group to our current user. We will call this user “ mcserver” and use the “ -m” option so that it generates a home directory for the user. For our next step, we need to create a user that our Ubuntu Minecraft server will run under. You can verify the Java has been installed correctly by entering java -version into the terminal. AVATAR MINECRAFT SERVER JAVA INSTALLsudo apt install openjdk-17-jre-headlessģ. To install the OpenJDK version 17 jre package, run the following command. Next, we will need to install Java so we can run the Minecraft server. AVATAR MINECRAFT SERVER JAVA UPDATEUpdate Ubuntu, so it has the latest packages available by entering the following into the terminal. The commands are not overly difficult to comprehend, so you should be fine even if you are new to using the command line.ġ. Throughout this tutorial, we will be using the terminal and a range of different commands. This tutorial has been tested on Ubuntu 20.04, but should also work on Ubuntu 18.04. ![]() Of course, we will be using the server version of Ubuntu, but there is no reason why you cannot do this on the desktop version of Ubuntu. The process of installing the Java Minecraft server on Ubuntu is pretty straightforward. Installing the Java Minecraft Server on Ubuntu With that said, this tutorial should still work on the Raspberry Pi. If you want to run the server on a Raspberry Pi, we recommend following our dedicated Raspberry Pi Minecraft server tutorial. This tutorial is for running Minecraft on an Ubuntu server or Ubuntu desktop. ![]() You may also want to investigate using additional security features to help protect your system, such as UFW. You will need to investigate port forwarding if you wish to allow users outside your local network to connect to the server. Since the Minecraft server is RAM hungry, I recommend having a generous amount of memory if you wish to host many people. The number of people the server can handle will vary heavily depending on the specifications of your computer. Setting up a private Minecraft server on Ubuntu is straightforward, especially if you have experience using a Linux-based operating system. ![]() In this tutorial, I will take you through the process of setting up a Java edition Minecraft server on Ubuntu. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |