How to Install a Minecraft Server on Ubuntu 18

How to Install a Minecraft Server on Ubuntu 18

Minecraft is one of the most widely played multiplayer games on the Internet today. Since its appropriate for all ages and is available on a wide range of platforms it’s not unusual for there to be several hundred thousand Minecraft players online at any given time.

What we’re going to explore in this how-to is first how to install a Minecraft Server on Ubuntu 18.04 and then install the Minecraft Server Manager to make running the server much easier.

1)
First, update the software on the server

# apt update && sudo apt upgrade

2)
Install Open JDK

$ sudo apt install openjdk-8-jre-headless screen

3)
Create a Directory on You Server For Minecraft

$ sudo mkdir minecraft

4)
Download the Latest Minecraft Server from Minecraft.net and Upload it Into the Directory You Just Created

5)
Download the Minecraft Server Manager

$ sudo wget -q http://git.io/Sxpr9g -O /tmp/msm && bash /tmp/msm

Make sure to install it on the same directory as your Minecraft .jar file!

6)
Create the Server

Note: You’ll need to be root or the user you setup during the Minecraft Server Manager setup to do this part!

# msm create servername

7)
Copy the Minecraft Server jar File to Your Server Directory and Run it

# cp /installpath/server.jar /installpath/servers/servername/server.jar
# java -jar /installpath/servers/servername/server.jar nogui

8)
Modify the EULA.txt so That You Agree to It

# nano /installpath/servers/servername/eula.txt

Modify the text to read the close and save the file.

eula=true

9)
Start the Server

#msm start

That should get your Minecraft server up and running. If you need further assistance the Minecraft forums or their official support may be able to help you out.

There may be some further configuration needed on your end to make sure your firewall rules allow people to connect to the server. Minecraft is a great game and we hope you enjoy your new server!

Check out these top 3 Linux hosting services

Webdock
£0.80 /mo
Starting price
Visit Webdock
Rating based on expert review
  • User Friendly
    3.8
  • Support
    4.5
  • Features
    4.5
  • Reliability
    4.3
  • Pricing
    4.3
Kamatera
£3.05 /mo
Starting price
Visit Kamatera
Rating based on expert review
  • User Friendly
    3.5
  • Support
    3.0
  • Features
    3.9
  • Reliability
    4.0
  • Pricing
    4.3
Ultahost
£1.90 /mo
Starting price
Visit Ultahost
Rating based on expert review
  • User Friendly
    4.3
  • Support
    4.8
  • Features
    4.5
  • Reliability
    4.0
  • Pricing
    4.8
  • Want to get top recommendations about best hosting? Just click this link!

How to Set Up a Linux VPN Server from a Windows Client

VPN is important for securely connecting to server’s resource
less than a minute
Vladimir Rakov
Vladimir Rakov
Hosting Expert

How to Install WordPress on the WAMP Server?

This is a how-to guide which will explain the easiest way to create a local serv
less than a minute
Vladimir Rakov
Vladimir Rakov
Hosting Expert

How to Delete the Existing Backup to Empty the Disk Space Using cPanel

This guide explains the steps to find and delete the existing backup file, which
less than a minute
Bruno Mirchevski
Bruno Mirchevski
Hosting Expert

How to Fix Booting Problems with Your Linux Server

Have you ever had that problem that when you command your server to restart it i
less than a minute
JB Benjamin
JB Benjamin
Hosting Expert
HostAdvice.com provides professional web hosting reviews fully independent of any other entity. Our reviews are unbiased, honest, and apply the same evaluation standards to all those reviewed. While monetary compensation is received from a few of the companies listed on this site, compensation of services and products have no influence on the direction or conclusions of our reviews. Nor does the compensation influence our rankings for certain host companies. This compensation covers account purchasing costs, testing costs and royalties paid to reviewers.
Click to go to the top of the page
Go To Top