How to Install Minecraft on a VPS Server - Knowledgebase (2024)

Overview
Installing a Minecraft server on a VPS (Virtual Private Server) provides better performance and customization options. It allows for smoother gameplay, control over server settings, and the ability to create a global gaming community. A VPS will enable 24/7 availability for the Minecraft server, ensuring it remains online even when the local machine is powered off.Note: Java 8 and Minecraft version 1.16.5 is used in this example.
Note: Right-click to paste contents into the SSH.

How to Install Minecraft on a VPS Server


Step 1. Log in to the VPS server using an SSH client.

Step 2. Depending on the preferred version, run the following commands to install Java:
sudo apt-get update
How to Install Minecraft on a VPS Server - Knowledgebase (1)

Java 8 - sudo apt install openjdk-8-jdk
Java 11 - sudo apt install openjdk-11-jdk
Java 17 - sudo apt install openjdk-17-jdk
How to Install Minecraft on a VPS Server - Knowledgebase (2)

Step 3. When prompted, input Y and press Enter.
How to Install Minecraft on a VPS Server - Knowledgebase (3)

Step 4. Run the following commands to set up and go to the Minecraft directory.
mkdir /Minecraft
cd /Minecraft
How to Install Minecraft on a VPS Server - Knowledgebase (4)

Step 5. Find the Minecraft server .jar download link on MCVersions.

Step 6. Right-click on Download Server jar and select Copy Link Address.
How to Install Minecraft on a VPS Server - Knowledgebase (5)

Step 7. Run the following command:
wget minecraft_server.jar [Download Link]

How to Install Minecraft on a VPS Server - Knowledgebase (6)

Step 8. Run the following command to create a screen to run the Minecraft server even when the SSH session is not open:
screen -S minecraft
How to Install Minecraft on a VPS Server - Knowledgebase (7)

Step 9. Run the following command to start the Minecraft server:
java -Xms1024M -Xmx1024M -jar server.jar
How to Install Minecraft on a VPS Server - Knowledgebase (8)

Step 10. Run the following command to edit the EULA:
nano eula.txt

How to Install Minecraft on a VPS Server - Knowledgebase (9)

Step 11. Change false to true.
How to Install Minecraft on a VPS Server - Knowledgebase (10)

Step 12. Press CTRL + X.

Step 13. Input Y and press Enter.
How to Install Minecraft on a VPS Server - Knowledgebase (11)

Step 14. Run the following command to start the Minecraft server:
java -Xms1024M -Xmx1024M -jar server.jar
How to Install Minecraft on a VPS Server - Knowledgebase (12)

Replace 1024 with the amount of RAM desired to allocate on the Minecraft server. The amount of RAM should be less than the RAM allocated to the VPS.

Step 15. Press CTRL + A + D to detach the server to leave it running in the background even if the SSH client is closed.

Step 16. Run the following command to reattach the screen:
screen -r minecraft
How to Install Minecraft on a VPS Server - Knowledgebase (13)

How to Install Minecraft on a VPS Server - Knowledgebase (2024)
Top Articles
Common Shipping Terms: An A-Z Glossary [2023 Update]
Children of a Warden
Duralast Gold Cv Axle
122242843 Routing Number BANK OF THE WEST CA - Wise
Ffxiv Shelfeye Reaver
Fredatmcd.read.inkling.com
Unblocked Games Premium Worlds Hardest Game
Green Bay Press Gazette Obituary
Weather In Moon Township 10 Days
414-290-5379
979-200-6466
Locate At&T Store Near Me
Roll Out Gutter Extensions Lowe's
Lawson Uhs
Full Standard Operating Guideline Manual | Springfield, MO
Craigslist Prescott Az Free Stuff
Craigslist Clinton Ar
Touchless Car Wash Schaumburg
LCS Saturday: Both Phillies and Astros one game from World Series
Wics News Springfield Il
Feathers
Shelby Star Jail Log
Gma' Deals & Steals Today
Section 408 Allegiant Stadium
Black Lion Backpack And Glider Voucher
Gopher Hockey Forum
San Jac Email Log In
Craigslist Auburn Al
lol Did he score on me ?
Tripcheck Oregon Map
Was heißt AMK? » Bedeutung und Herkunft des Ausdrucks
Rlcraft Toolbelt
140000 Kilometers To Miles
Lowell Car Accident Lawyer Kiley Law Group
Composite Function Calculator + Online Solver With Free Steps
Envy Nails Snoqualmie
Gabrielle Enright Weight Loss
Grapes And Hops Festival Jamestown Ny
2700 Yen To Usd
Sound Of Freedom Showtimes Near Lewisburg Cinema 8
Craigslist Com St Cloud Mn
Vérificateur De Billet Loto-Québec
Hello – Cornerstone Chapel
Secrets Exposed: How to Test for Mold Exposure in Your Blood!
Who uses the Fandom Wiki anymore?
antelope valley for sale "lancaster ca" - craigslist
Best brow shaping and sculpting specialists near me in Toronto | Fresha
How To Connect To Rutgers Wifi
Supervisor-Managing Your Teams Risk – 3455 questions with correct answers
Latest Posts
Article information

Author: Carmelo Roob

Last Updated:

Views: 6212

Rating: 4.4 / 5 (45 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Carmelo Roob

Birthday: 1995-01-09

Address: Apt. 915 481 Sipes Cliff, New Gonzalobury, CO 80176

Phone: +6773780339780

Job: Sales Executive

Hobby: Gaming, Jogging, Rugby, Video gaming, Handball, Ice skating, Web surfing

Introduction: My name is Carmelo Roob, I am a modern, handsome, delightful, comfortable, attractive, vast, good person who loves writing and wants to share my knowledge and understanding with you.