# Script
sudo yum -y update
sudo yum install git -y
これを参考に導入
https://mcpoteton.com/yakudatu/java16-install
java --version
openjdk 16.0.1 2021-04-20
OpenJDK Runtime Environment AdoptOpenJDK-16.0.1+9 (build 16.0.1+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK-16.0.1+9 (build 16.0.1+9, mixed mode, sharing)
mkdir /etc/minecraft/
sudo chown -R ec2-user:ec2-user /etc/minecraft/
cd /etc/minecraft/
# https://www.minecraft.net/ja-jp/download/server
wget https://launcher.mojang.com/v1/objects/a16d67e5807f57fc4e550299cf20226194497dc2/server.jar
java -Xmx1024M -Xms1024M -jar server.jar nogui
You need to agree to the EULA in order to run the server. Go to eula.txt for more info.
vi eula.txt
低いバージョンマイクラを入れなおす
1.17.1はまだ対応してなさそう 1.16 ぐらいで再チャレンジする