N
The Daily Insight

How to install minecraft server on ubuntu

Author

William Harris

Updated on May 06, 2026

There are other answers below:

Download and Configure Minecraft Server. First, download the latest version of Minecraft server to the ~/server directory: wget -P ~/server. Next, change the directory to ~/server directory and start the Minecraft server: cd …

When logged into your Ubuntu server via SSH, enter the following commands: sudo apt update sudo apt upgrade; Once the system has finished updating, run the following command to install OpenJDK, a Java toolkit used by software developers: sudo apt install default-jre; Once Java has been updated, you then need to add minecraft as a system user with the following …

Click Add server and enter your Linode’s IP address or domain name. When you’re finished click Done: Your server is now available to incoming connections. Click Join Server to connect: Congratulations! Now that you have setup a Minecraft server on Linux, you can play Minecraft in a persistent world with your friends.

In order to follow this guide, you’ll need: A server with a fresh installation of Ubuntu 20.04, a non-root user with sudo privileges, and SSH enabled. You can follow this guide to initialize your server and complete these steps. Minecraft can be resource-intensive, so keep that in mind when selecting your server size.

There are a few packages we’ll need in order to run the Minecraft server, so let’s start by installing them. Open a terminal and type the following two commands: $ sudo apt update $ sudo apt install wget screen default-jdk nmap wget will be used to download Minecraft server fies; screen is for running the Minecraft server in the background

Step 7 – Connect to Minecraft. Now that our server is up and running, it is time to connect to Minecraft. Launch your Minecraft game. Click on the Multiplayer button and ignore the warning for the future by checking the box, Do not show this screen again. Click on Add Server button on the next page. Enter your server’s public IP address and name.

The newly purchased Minecraft server will appear under the Setup section. Click on the Setup button next to it. Follow the instructions to complete the setup process. It will include deciding the server name and root password. Your Minecraft server will be accessible from the VPS section of your hosting account

Setting up a Dedicated Minecraft Server. Step 1: Connect to Your Hosting Via SSH; Step 2: Install Java. Install Java on Ubuntu; Install Java on CentOS; Step 3: Install Screen; Step 4: Create a Directory for Minecraft Files; Step 5: Download the Required Configuration Files; Step 6: Accept Minecraft’s EULA; Step 7: Run Screen; Step 8: Run Your Minecraft Server

Just open the Minecraft client, enter multiplayer mode and click Add server. In this screen, enter the name and IP address of the Minecraft server, then click on DONE. If the server accepts you and you can start moving around the game world, it means that the mods have been successfully loaded.

Related Questions

How do I set up a Minecraft server on Linux?

There are a few packages we’ll need in order to run the Minecraft server, so let’s start by installing them. Open a terminal and type the following two commands: $ sudo apt update $ sudo apt install wget screen default-jdk nmap wget will be used to download Minecraft server fies; screen is for running the Minecraft server in the background

Can I host a Minecraft server on Ubuntu?

Ubuntu 20.04 Focal Fossa is a top choice for hosting a Minecraft server, as Linux is known for its stability when running servers and Ubuntu is known for its ease of use. Follow along below as we take you through the steps to get your Minecraft server up and running.

Can I run Minecraft on Ubuntu/Debian?

And you have an updated Minecraft server running on your Ubuntu or Debian. The first time you run the Minecraft server it creates an EULA (End User Licensing Agreement) file and then exit:

How to enable Minecraft on Ubuntu?

Finally, enable the Minecraft service to automatically start at boot time: Ubuntu ships with a firewall configuration tool called UFW. We need to open port 25565 if the firewall is enabled on our system and want to access the Minecraft server from the outside of our local network: