sudo apt search openjdk-\(\.\)\+-jre$
sudo apt-get install openjdk-8-jre
java -version
sudo apt install git
wget https://launcher.mojang.com/v1/objects/3737db93722a9e39eeada7c27e7aca28b144ffa7/server.jar
mkdir build cd build
wget https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
java -jar BuildTools.jar
java -jar BuildTools.jar --rev 1.15.1
sudo yum update java-latest-openjdk
mkdir ./minecraftSpigot cd ./minecraftSpigot mv ../build/spigot-1.*.jar ./spigot.jar
java -XX:MaxPermSize=1024M -Xms512M -Xmx1536M -jar spigot.jar
ps ax | grep spigot
2116 ? Sl 739:06 java -Xmx2G -Xms2G -jar ../mineSpigot/spigot.jar nogui
kill 2116
最初にworld dataのバックアップ(念の為)
#!/bin/bash cd /home/minecraft/server; java -XX:MaxPermSize=1024M -Xms512M -Xmx1536M -jar spigot.jar
java -Xmx6G -Xms6G -jar ./paper.jar nogui
sudo dnf install java-latest-openjdk.x86_64
sudo dnf install git
sudo add-apt-repository ppa:linuxuprising/java
sudo apt update
sudo apt install oracle-java16-installer