How to Install a Minecraft Server on Ubuntu 20.04 (Vanilla, Forge, Spigot, Paper) Print

  • 0

Minecraft Server Installation Instructions

We offer an easy way to install Minecraft on any of our VPS/Bare Metal servers running Ubuntu 20.04. Our script allows you to select a Vanilla, Forge, Spigot, and Paper.

  1. Download and install PuTTY on your local computer. You can download PuTTY from the official website:

  2. Launch PuTTY and enter your server's IP address or domain name in the "Host Name" field. Leave the "Port" field as the default (22).

  3. Select "SSH" as the "Connection Type".

  4. Click on "Open" to connect to your server.

  5. Enter your server's username and password when prompted.

  6. Navigate to the directory where you want to download the installation script. For example, if you want to download it to your home directory, you can type the following command:

    cd ~
  7. Download the installation script by using the wget command:


    This command will download the installation script to your current directory.

  8. Once the download is complete, make the script executable by running the following command:

    chmod +x

    This command will make the installation script executable.

  9. Run the installation script by entering the following command:


  10. The script will then begin to install the necessary dependencies, create a directory for the Minecraft server, download the server files, and create scripts to start and stop the server.

Where are my Server Files located?

You Minecraft Server files will get stored in /Servers/Minecraft-<versionnumber>

When installing multiple servers of the same type (e.g. two Minecraft 1.8.9 Servers) the second folder will be called Minecraft-<versionnumber>-1 (or 2 and so on)

Can I change the amount of RAM allocated to my Minecraft Server after the installation?

Yes. To do so go to your Server folder (cd /Servers/Minecraft-<versionnumber>) and open the file.
In the last line of this file you can adjust the number after -Xmx to adjust more or less ram.

Can I use this script to install Snapshot Versions of Minecraft?

No. This script can only install full game versions. Snapshot Versions are not supported!

I've accidentally closed my Minecraft console. How can I open it again?

Dont worry, the console will kept open in the background using screen.
Use this command, to show all active screen sessions: screen -ls

If only one Sessions is active you can use this command, to open it: screen -rx 
If multiple Sessions are active use this command: screen -rx <Name of screen session>

How to close (detach) my console?

To close (detach) you Minecraft Console press [CTRL]+[A] and than [CTRL]+[D]

That's it! You now have a fully installed Minecraft server on your Ubuntu 20.04 server, and you can connect to it via PuTTY to manage it remotely. If you encounter any issues or need additional support, you can visit for assistance.

Was this answer helpful?