How to install Minecraft on your Linux VPS

 VPS Hosting

You can run a simple Minecraft server host on your Linux VPS. This is great for testing new concepts and plugins for a short amount of time and more!

SSH and login to your VPS.

sshing into vps

Run sudo apt-get update && sudo apt upgrade to update your system. Then run sudo apt install default-jre OR sudo apt install default-jre-8 depending on if you want or need to use Java 8.

updating stuff on vps

So to get a jar on your VPS you need to create a new folder. Run mkdir mcserver && cd mcserver download it with the wget <url> command. To get a download a copy of the current version of paper, go to, right click the latest version’s download button and right click. In the menu click on “Copy” or “Copy Link Location” etc… Then type wget and paste the link and your command should look like wget but with maybe some different numbers.

installing minecraft on vps

To start your Minecraft server, run mv download-file server.jar and replace download-file with the name of your download to rename it so we can use the start command java -jar server.jar Congratulations! You have a Minecraft Server running! You will likely need agree to the EULA, so edit eula.txt when the server starts back up with your favorite text editor like nano. to You can run stop or press ctrl+c to stop the server.

installing minecraft on vps

Create a startup script by creating a file called run touch to create it. type nano to edit the file type in the following on the first line #!/bin/bash and on the second line put java -jar server.jar Once done press ctrl+o and press enter to save then ctrl+x to exit. run chmod +x to make it executable then enter ./ to start the server.

installing minecraft on vps

If you have still need help or have any further questions, contact us.

Was this article helpful?

Sign up to be alerted of new articles!

We will let you know of any new articles that we publish so that you may benefit from the many upcoming tutorials we have planned for you.