Server Opening!#
I purchased the configuration of Rain Cloud's 7950x 4c10G, and installed the Debian 11 system.
Installed using the direct installation method.
Installing openjdk17
sudo apt install openjdk-17-jdk -y
Install screen to avoid keeping the server running all the time.
➜ / java -version
openjdk version "1.8.0_352"
OpenJDK Runtime Environment (Alibaba Dragonwell Extended Edition 8.13.14) (build 1.8.0_352-b01)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell Extended Edition 8.13.14) (build 25.352-b01, mixed mode)
java -jar forge-1.19.2-43.3.8-installer.jar nogui --installServer
➜ mc ls
config defaultconfigs forge-1.19.2-43.3.8-installer.jar installer.log kubejs libraries mods run.bat run.sh user_jvm_args_backup.txt user_jvm_args.txt
➜ mc
Execute java -jar to install forge-1.19.2-43.3.8-installer.jar
Then start the run.sh file. The first run will generate eula.txt, and if you haven't agreed to the agreement, it won't start.
We modify the eula file and change it to true to run it.
After a normal startup, you should be able to see the server information.
If you want to exit SSH and keep it running, you need to use screen
Execute
screen -S mc
Create a screen process named mc, and then start your mc again.
List the running processes of screen
screen -list
Re-enter the screen process
screen -r 'name'
Let's play!#
Frequently used commands
- Check server TPS (the lower, the more laggy)
/forge tps
- Clear dropped items
/kill @e[type=item]
- The shader I use is ComplementaryUnbound_r5.1.1 (highly recommended!)
Finally, I wish everyone a happy gaming experience!