Add install.sh
This commit is contained in:
parent
46e4d87d52
commit
20106ca390
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Update
|
||||||
|
apt update && apt upgrade -y
|
||||||
|
|
||||||
|
# Install Java
|
||||||
|
apt install -y openjdk-21-jdk-headless
|
||||||
|
|
||||||
|
touch start.sh
|
||||||
|
|
||||||
|
echo "java -Xms32G -Xmx32G -jar paper-1.21.8-60.jar --nogui" >> start.sh
|
||||||
|
chmod +x start.sh
|
Loading…
Reference in New Issue