Requirements
You need Java, Screen, Sudo, Wget and Unzip for the default installation of this software.
Before you install the following programs, run:
sudo apt update && sudo apt upgrade
Hardware
Minimal
128MB JVM Heap size
2GB DDR3 Memory
2 virtual cores
Recommended
512MB JVM Heap size
8GB DDR3 Memory
2-4 virtual cores
Software
Java
The required Java version depends on your planned Spigot version. If you use a Spigot version below 1.9 you have to install Java 8.
Use the following command to display the installed Java version.
java -version
Output:
Correct
openjdk version "11.0.9.1" 2020-11-04
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.9.1+1)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.9.1+1, mixed mode)
Error
-bash: java -version: Command not found.
If the output is "Command not found", then you need to install Java.
To install Java 11, use the following command:
sudo apt install default-jre
Screen
This way you can check if you already have Screen installed.
screen -help
Output:
Correct
Use: screen [-opts]cmd [args]] or: screen -r [host.tty]
Error
bash: screen: Command not found.
If the output is "Command not found", then you need to install Screen.
To install Screen, use the following command:
sudo apt-get install screen
Sudo
This way you can check if you already have Sudo installed.
sudo
Output:
Correct
usage: sudo -h | -K | -k | -V
Error
bash: sudo: Command not found.
If the output is "Command not found", then you need to install Sudo.
To install Sudo, use the following command:
apt-get install sudo
Wget
This way you can check if you already have Wget installed.
wget
Output:
Correct
wget: missing URL Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options.
Error
bash: wget: Command not found.
If the output is "Command not found", then you need to install Wget.
To install Wget, use the following command:
sudo apt-get install wget
Unzip
This way you can check if you already have Unzip installed.
unzip
Output:
Correct
UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP.
Error
bash: unzip: Command not found.
If the output is "Command not found", then you need to install Unzip.
To install Unzip, use the following command:
sudo apt-get install unzip