This is a guide on how to install a Minecraft Forge server on a Linux operating system (Debian)
Download and install Java JDK 18 by using these commands:
sudo apt update
sudo apt install -y libc6-x32 libc6-i386
wget [ Ссылка ]
sudo dpkg -i jdk-18_linux-x64_bin.deb
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk-18/bin/java 1
java -version
Guide source:
[ Ссылка ]
Install Forge server:
java -jar [forge installer jar name, press tab to auto-fill] --installServer
Edit run.sh and add --nogui to the line before "$@"
Edit user_jvm_args.txt and add -Xmx8G (change the ram value to your needs)
Run run.sh and edit the eula.txt, set it to true
Run run.sh again
Ещё видео!