type
status
date
slug
summary
tags
category
icon
password
命令行:
apt install -y wget apt-transport-https
mkdir -p /etc/apt/keyrings
wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc
echo "deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | tee /etc/apt/sources.list.d/adoptium.list
apt update
apt install temurin-8-jdk
java -version
exit
unzip 服务端.zip
vim server.properties
ls
cat 新版后台启动器.Bat
cd
cd minecraft/
java -jar -Xms10G -Xmx10G server-core.jar
exit
ls
vim server.properties
exit
java -jar -Xms10G -Xmx10G server-core.jar
java -jar -Xms1G -Xmx10G server-core.jar
exit
ls
unzip 服务端.zip
apt install unzip
unzip 服务端.zip
ls
rm addons/ -rf
rm defaultconfigs/ rf
rm defaultconfigs/ -rf
ls
rm config/ -rf
rm foxlaunch-data/ -rf
rm libraries/ -rf
ls
rm eula.txt
rm mods/ -rf
rm server-core.jar
ls
rm foxlaunch-libs/ -rf
rm plugins/ -rf
ls
rm server.properties
rm 新版后台启动器.Bat
mkdir minecraft
mv 服务端.zip minecraft/
cd minecraft/
screen -S cs
screen -S mc
vim server.properties
screen -S mc
vim server.properties
screen -S mc
- 作者:Luck
- 链接:https://enblog.top/article/d71aca7e-5664-4cee-bb77-f42435a5ef0b
- 声明:本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。