Install a version of Forge on Ubuntu Server
Posted: Mon Aug 03, 2020 5:46 pm
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-14.23.5.2854-installer.jar --installServer
Create start.sh with the following line:
java -Xms3G -Xmx3G -jar forge-1.8-11.14.4.1577-universal.jar nogui
chmod +x start.sh
nano eula.txt
IP Tables
sudo iptables -A INPUT -p tcp --dport 25565 -j ACCEPT
Useful commands;
./start.sh
screen ./start.sh - 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:
https://www.vpsserver.com/community/tut ... on-ubuntu/
https://www.linode.com/docs/game-server ... ot-ubuntu/
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-14.23.5.2854-installer.jar --installServer
Create start.sh with the following line:
java -Xms3G -Xmx3G -jar forge-1.8-11.14.4.1577-universal.jar nogui
chmod +x start.sh
nano eula.txt
IP Tables
sudo iptables -A INPUT -p tcp --dport 25565 -j ACCEPT
Useful commands;
./start.sh
screen ./start.sh - 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:
https://www.vpsserver.com/community/tut ... on-ubuntu/
https://www.linode.com/docs/game-server ... ot-ubuntu/