Install a version of Forge on Ubuntu Server

Forge Minecraft server
Post Reply
Site Admin
Posts: 10
Joined: Sun Aug 02, 2020 5:03 pm

Install a version of Forge on Ubuntu Server

Post by 00 »

Install java:

sudo apt-get install git openjdk-8-jre-headless -y

Download the official Forge installer and then copy it to the server.

The run the following:

java -jar forge-1.12.2- --installServer

Create with the following line:
java -Xms3G -Xmx3G -jar forge-1.8- nogui

chmod +x

nano eula.txt

IP Tables
sudo iptables -A INPUT -p tcp --dport 25565 -j ACCEPT

Useful commands;

screen ./ - starts and runs when ssh session is closed
screen -r - opens the ssh session again if closed before
stop - stops the MC server

op-level 3 can do everything except stop the server

References: ... on-ubuntu/ ... ot-ubuntu/
Post Reply