• 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/Game Servers/How to Install a Minecraft Server on Ubuntu 14.04
Popular Search:Dedicated Server, CentOS, Web Hosting

How to Install a Minecraft Server on Ubuntu 14.04

21 views 0 November 26, 2019 aklwebhost

In this article, we are going to install a Minecraft server on an Ubuntu. Make sure that you are logged in under a user that isn’t the root user, as running this server as root can be unsafe.

In order to run a Minecraft server, we need Java 1.7 to be installed on the server. To install Java 1.7, run the following commands:

sudo apt-get update
sudo apt-get install openjdk-7-jdk

Now, we are going to download the Minecraft server via wget. If you don’t have wget installed, then you can install it via sudo apt-get install wget. Replace 1.10.2 with the current release of Minecraft.

wget https://s3.amazonaws.com/Minecraft.Download/versions/1.10.2/minecraft_server.1.10.2.jar
chmod +x minecraft_server.jar

The Minecraft install is complete. Accept the license agreement.

echo "eula=true" > eula.txt

You can now start your Minecraft server via the following command:

java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui

This command starts the Minecraft server with 1024MB RAM allocated. How to allocate more RAM to Minecraft server is easy. Simply change the -Xmx and -Xms attributes in the command.

In case you want the server to run in the background, you can install screen:

apt-get install screen

To start the Minecraft server in screen, open a screen instance, then run the Java command again.

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

To exit out of the screen window, press CTRL + A, then d. If you want to open the window again, use the command screen -r.

Tags:How to Install a Minecraft Server on Ubuntu 14.04

Was this helpful?

Yes  No
Related Articles
  • Terraria Server with TShock on Linux
  • Starting a Teamspeak 3 Server on CentOS 6.4
  • Setup an SA-MP San Andreas Multiplayer Server on CentOS 6
  • Setup an Insurgency Game Server on Ubuntu 15.04
  • Setup a Team Fortress 2 Server on Arch Linux
  • Setup a Rust Game Server on CentOS
Leave A Comment Cancel reply

Game Servers
  • How to Install a Minecraft Server on Ubuntu 14.04
  • Terraria Server with TShock on Linux
  • Starting a Teamspeak 3 Server on CentOS 6.4
  • Setup an SA-MP San Andreas Multiplayer Server on CentOS 6
  • Setup an Insurgency Game Server on Ubuntu 15.04
  • Setup a Team Fortress 2 Server on Arch Linux
View All 80  
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 A Counter-Strike Source Server On Ubuntu

How to Install a Tekkit Classic Server on CentOS 6/7  

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

Popular Search:Dedicated Server, CentOS, Web Hosting