• Domains
  • Web Hosting
  • WordPress Hosting
  • Reseller Hosting
  • Cloud VPS
  • Dedicated Servers
  • Domains
  • Web Hosting
  • WordPress Hosting
  • Reseller Hosting
  • Cloud VPS
  • Dedicated Servers
home/Knowledge Base/Dedicated Servers/Ubuntu/How to Setup a Minecraft Server on Ubuntu 18.04
Popular Search:Dedicated Server, CentOS, Web Hosting

How to Setup a Minecraft Server on Ubuntu 18.04

34 views 0 November 26, 2019 Updated on December 6, 2019 aklwebhost

Minecraft is still one of the most popular games in the world. If you play the game, you probably play on servers all the time. This guide aims to teach you how to install, setup and manage a Minecraft server on Ubuntu 18.04 from scratch.

Prerequisites

Before we begin, you’ll need the following:

  • Ubuntu 18.04 or newer.
  • A standard, non-root user for running the server.

Method

Once you’ve got the necessary requirements, log into your VPS as the standard, non-root user. This is important, as running a Minecraft Server as root can be extremely dangerous. Once you’ve logged in, we are going to update our repositories:

sudo apt-get update
sudo apt-get upgrade

Reboot your VPS and we’ll be ready to move onto the next step.

Now we’ll need to install the latest Java SDK, which can be done by typing the following command:

sudo apt-get install openjdk-7-jdk

Once completed, we are going to download the Minecraft Server executable for install. We will use wget to do so:

sudo wget https://launcher.mojang.com/mc/game/1.13/server/d0caafb8438ebd206f99930cfaecfa6c9a13dca0/server.jar

Following this, we are going to mark the downloaded file as executable by inputting the following command:

chmod +x minecraft_server.jar

Now that we’ve downloaded the server, we need to accept the EULA:

echo "eula=true" > eula.txt

Type the following command to start your server, then hit ENTER:

java -Xmx1024M -Xms1024M -jar minecraft_server.1.13.jar nogui

This command will start a Minecraft Server with 1GB (1024MB) of memory (RAM) and no GUI (graphical user interface). You can change the amount of memory used by the server by swapping out 1024 with a different number. For example, if you wanted 2GB of memory you would type out 2048 instead of 1024.

Final words

Now that you’ve got a basic Minecraft Server setup, you are free to explore further. You can access your server by inputting your VPS’s IP Address as the hostname on any Minecraft client.

Tags:How to Setup a Minecraft Server on Ubuntu 18.04

Was this helpful?

Yes  No
Related Articles
  • Setup Spigot Server on Arch Linux
  • How To Install OSSEC HIDS on a CentOS 7 Server
  • Initial Setup of a CentOS 7 Server
  • Using StrongSwan for IPSec VPN on CentOS 7
  • Hot Backups with Percona XtraBackup on the One-Click WordPress App
  • Installing Rust on Ubuntu 14.04
Leave A Comment Cancel reply

Ubuntu
  • How to Setup a Minecraft Server on Ubuntu 18.04
  • Installing Rust on Ubuntu 14.04
  • Using Tango on Ubuntu 14.04
  • Setup Spigot on Ubuntu
  • Setup Fail2ban Ubuntu x64
  • Installing InfluxDB on Ubuntu 14
View All 96  
Popular Articles
  • Using StrongSwan for IPSec VPN on CentOS 7
  • Disabling SSDP (Linux / Windows)
  • Can I pay by Western Union?
  • Can a Coupon Code Discount Be Carried Forward While I Upgrade My VPS Account
  • Can I pay multiple due invoices using a single transaction?
KB Categories
  • Billing
  • Cloud Hosting
  • CMS Hosting
  • cPanel/WHM Control Panel Guide
  • Dedicated Servers
    • AMD Opteron 6272
    • Arch
    • Backup Storage
    • Bandwidth
    • Basic Security
    • BSD
    • CentOS
    • Containers
    • CoreOS
    • DDoS Protection
    • Debian
    • Dedicated Server Control Panel
    • Intel Core i5 3550
    • Intel Core i5 4570
    • Intel Core i7 3770
    • Intel Core i7 4770
    • Intel Xeon E3 1230 V3
    • Intel Xeon E3 1245 V2
    • IP Space
    • Linux Guides
    • Minecraft
    • Networking
    • Server Apps
    • Server Troubleshooting
    • Ubuntu
    • Windows Guides
    • Windows Server 2008
    • Windows Server 2012
  • Domain Names
  • Email Support Documentation
    • Setup IMAP or POP
    • User Features – How To
    • Webmail – How To
  • FTP (File Transfer Protocol
    • CuteFTP Guide
    • FileZilla Guide
  • Game Servers
  • MySQL and MariaDB
  • Node.js
  • Plesk Web Hosting Guide
  • VPS Server
  • Web Servers

  How To Install Unturned on Linux

How To Setup a Teamspeak 3 Server on Windows  

  • Privacy Policy
  • Terms of Use
  • © 2022 AKLWEB HOST LLC, All Rights Reserved.

Popular Search:Dedicated Server, CentOS, Web Hosting