diruf.blogg.se

Install vanilla minecraft server jar
Install vanilla minecraft server jar





install vanilla minecraft server jar

Now with root privileges, switch to the minecraft user with the following command: sudo su - minecraft Switch to minecraft user and create directories After running the command, the new user should now exist on your system. However when configuring the minecraft server you should have root privileges, so you can switch to this user later. You can register the user with the following command: sudo useradd -r -m -U -d /opt/minecraft -s /bin/bash minecraft The user shouldn't have a password neither because it shouldn't be able to access your server via SSH. You should have an exclusive user in your ubuntu server to setup your minecraft server for security reasons, so the server won't run with root privileges. With Java installed, you can continue with the next step. OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode) Which should output something like: openjdk version "1.8.0_252" After installing Java, you can easily check the version on the terminal with the following command: java -version

install vanilla minecraft server jar

We install the headless version as we won't need any graphic interface on the server 🤠In this case, we will install the headless version of Java 8 with the following command in the server: sudo apt-get install openjdk-8-jre-headless In order to run the minecraft server code in your ubuntu server, you will need to have Java installed, specifically Java 8 or later. Install the Headless Java Runtime Environment (JRE)Īs you obviously know, Minecraft was developed in Java. Once you have the build essential and git in the server, you should be ready to continue. Then, run the following command to install Git and the Build Essential package in your server: sudo apt-get install git build-essential Before installing them, be sure to update the apt repository with the following command (initially you should have root privileges): sudo apt-get update Install building requirementsīefore proceeding with the configuration of your Minecraft server, you will need the following packages pre installed on your server. While trying to play the game with some friends again, i discovered how easy it was to host my own minecraft server in my server to play with them, so i'll explain you today how to easily setup your own self-hosted minecraft server in Ubuntu 18.04. One of those amazing features was the possibility to play with friends in public servers that pitifully, aren't available anymore. Till the date, the game still releases constantly updates, new items and other things.

install vanilla minecraft server jar

When i was just a kid, i fell in love with Minecraft because it was one of the games that used to run smooth on my old low spec computer, the dynamic of the game was incredible and all the stuff you could achieve was amazing.







Install vanilla minecraft server jar