Page 1 of 1

Install a version of Forge on Ubuntu Server

Posted: Mon Aug 03, 2020 5:46 pm
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/