Type following command to create folder in which you want install Minecraft. To install the default or vanilla Minecraft server please do the following.
This guide explains how to install a Minecraft server on Debian 10 Buster.
How to install minecraft on vps. Logging in as admin. First you have to login into your Mojang account on which you should already have Minecraft purchased. Install your Vanilla Minecraft server.
Use the following command to install Java OpenJDK 8. Create the folder that you want to install Minecraft to. Sudo apt update sudo apt install wget screen default-jdk nmap.
Launch a fresh Debian 10 VPS. Double-click the setup program to create a eulatxt file. Though you can create this folder anywhere in VPS file structure it is recommended to create it under home directory.
Create a new folder for the Minecraft server and move the jar file to that folder. Install mysql and phpmyadmin apt-get install mysql-server phpmyadmin. The Minecraft server runs on top of the Java Virtual Machine JVM so it requires the Java Runtime Environment JRE to run.
Create a sudo user named mcuser. Screen -S mc-server -U -m -d sh startsh. Connect to the server.
Usually within an hour of making your payment you will get an email from OVH with Your VPS. To do this you might need to allow the program through the firewall. Now install the Java OpenJDK 8 by entering the following command.
Update the VPS apt-get update apt-get upgrade. Note that if you get a window with Postfix Configuration then choose the first option No configuration with your arrow keys and press enter. You can run a simple Minecraft server host on your Linux VPS.
Install the headless OpenJDK version. There are a few packages we need to install to run a Minecraft Server. Lets start by installing them.
Open your terminal and type the following two commands. Install Vanilla Minecraft Server Connect to SSH with root user. This is great for testing new concepts and plugins for a short amount of time and more.
Open an SSH client and login. Sudo apt install default-jdk Step 5 – Create a Separate Directory for Hosting Minecraft Game Server. We will set up our VPS server to install Minecraft.
Update the server with our best practices guide. This command starts a screen with the name mc-server in detached mode which means that it will run in the background on the VPS. Switch to mcuser for the remainder of this guide.
This can be anywhere in the file structure but it is usually best to put it in the home. Run the Minecraft server by double-clicking the jar file. To run the Minecraft server on the VPS the most important thing that you are going to need is the Java Development Kit JDK.
Save and close the file. You will also need root privilege to download Java. How to install Minecraft Spigot server on an OVH VPS Purchasing an OVH VPS.
When it launches it runs the command sh startsh which in turn starts the server. If possible please reinstall your VPS from your control panel. Because the server doesnt need a graphical user interface this tutorial uses the headless version of the JRE.
Head over to the official Minecraft Java Edition server download page and press the download link. Change to the Minecraft directory. Download server software for Java and Bedrock and begin playing Minecraft with your friends.
SSH and login to your VPS. You need Root privilege to download Java fortunately all of AITs VPS solutions come with full root access. Follow our best practices guide.
Download Minecraft for Windows Mac and Linus. To be able to use Minecraft you will need to install the Open Java development kit on your VPS server. We will be installing SpigotMC a highly optimized Minecraft server written in Java with integrated support for pluginsIn the end you will have a Minecraft server always ready for you and your friends to play on.
Type in your SSH console this command. To get the latest version of JDK installed on your VPS you need to run the following command on PuTTY SSH. Run sudo apt-get update sudo apt upgrade to update your system.
Download the setup software jar file from the official server page. This tutorial will show you how to set up and configure your own Minecraft server on a VPS. Open the EULA file and change the value from false to true.
How to install Minecraft on your Linux VPS. Your next step is to install the Open Java Development Kit on your VPS server since Minecraft runs on Java.