BIP KB:
How To Install And Run Minecraft On A Linux VPS
Article By alirolleston
![]() |
Debian based distributions are recommended for easiest installations. |
Prerequisites
Start by installing the latest version of java.
Debian, Ubuntu
CentOS, Redhat, Fedora
You can check if you already have the latest version by running java -version
Debian, Ubuntu
sudo apt-get update sudo apt-get install openjdk-7-jre screen
CentOS, Redhat, Fedora
yum update yum install java-1.7.0-openjdk screenYou should also install screen so you can access the console as needed without having to worry about keeping the console open
Spigot Server
Run the following commands:
To start the Spigot Service in a screen session:
Once it has been started, press ctrl+a+d to detach from the screen.
You can reattach to the console by running:
cd /home wget -O BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar java -jar BuildTools.jar export MAVEN_OPTS="-Xmx2G" java -Xmx2G -Dmac.supported=true -jar BuildTools.jar rm -f BuildTools.jar
To start the Spigot Service in a screen session:
screen -S spigot java -Xmx1024M -Xms1024M -jar spigot.jar
Once it has been started, press ctrl+a+d to detach from the screen.
You can reattach to the console by running:
screen -r spigot
Minecraft Classic
Run the following commands:
To start the Minecraft service in a screen session:
Once it has been started, press ctrl+a+d to detach from the screen.
You can reattach to the console by running:
cd /home wget -O minecraft_server.jar https://s3.amazonaws.com/Minecraft.Download/versions/1.8.1/minecraft_server.1.8.1.jar
Please Note: Before you can start using Minecraft, you must edit the eula.txt file and change false to true.
To start the Minecraft service in a screen session:
screen -S minecraft java -Xmx1024M -Xms1024M -jar minecraft_server.jar
Once it has been started, press ctrl+a+d to detach from the screen.
You can reattach to the console by running:
screen -r minecraft
Tags: centos, debian, install, linux vps, minecraft, run
Spin Up A VPS Server In No Time Flat
Simple Setup
Full Root Access
Straightforward Pricing
DEPLOY A SECURE VPS SERVER TODAY!Leave a Reply
Feedbacks
![]() This work is licensed under a Creative Commons Attribution- NonCommercial-ShareAlike 4.0 International License. |