Server Setup (Linux, Oracle Cloud): Difference between revisions

Content added Content deleted
m (revision date.)
m (intro, formatting)
Line 4: Line 4:
* '''Latest Revision:''' February 2023, GTNH version 2.2.3.
* '''Latest Revision:''' February 2023, GTNH version 2.2.3.


The general overview for Linux is get a server. Get SSH access to the server. Download the [[Server_Setup#Server_Files|server files]] and Java 17+. Unzip the server pack and run ''startserver.sh''. The instructions below are specific for Oracle Cloud but may help with generic Linux installs.
Oracle Cloud is an attractive option as it offers a lot of space and processing power for no monthly fee. There are limitations; see [[#Warnings|Warnings]], below. The general overview for a Linux server is to secure hosting. Get SSH access to the server. Set up an instance. Download the [[Server_Setup#Server_Files|server files]] and Java 17+. Unzip the server pack and run ''startserver.sh''. The instructions below are specific for Oracle Cloud but may help with generic Linux installs.
</div>
</div>


Line 14: Line 14:
</div>
</div>


=== Introductio n===
=== Introduction ===
<div align="justify">
<div align="justify">
This Linux setup uses an Oracle [https://blogs.oracle.com/developers/post/how-to-set-up-and-run-a-really-powerful-free-minecraft-server-in-the-cloud blogpost] about how to set up a server on their platform.
This Linux setup uses an Oracle [https://blogs.oracle.com/developers/post/how-to-set-up-and-run-a-really-powerful-free-minecraft-server-in-the-cloud blogpost] about how to set up a server on their platform.
Line 35: Line 35:
</div>
</div>


===Set up an instance===
=== Set Up an Instance ===
====Create an instance====
==== Create an Instance ====
<div align="justify">
<div align="justify">
This step is taken from the Oracle's [https://blogs.oracle.com/developers/post/how-to-set-up-and-run-a-really-powerful-free-minecraft-server-in-the-cloud manual], so check it out if you need more info. A concise version of it is given in this guide.
This step is taken from the Oracle's [https://blogs.oracle.com/developers/post/how-to-set-up-and-run-a-really-powerful-free-minecraft-server-in-the-cloud manual], so check it out if you need more info. A concise version of it is given in this guide.
Line 67: Line 67:
</div>
</div>


====Set up network rules====
==== Set Up Network Rules ====
<div align="justify">
<div align="justify">
When your Instance Details turns green and Running, click on the Subnet link in the Primary VNIC section. Then in Security Lists click on the only one that is there, the default one, then click on Add Ingress Rules.
When your Instance Details turns green and Running, click on the Subnet link in the Primary VNIC section. Then in Security Lists click on the only one that is there, the default one, then click on Add Ingress Rules.
Line 82: Line 82:
</div>
</div>


====Tweak the instance====
==== Tweak the Instance ====
<div align="justify">
<div align="justify">
In order to connect to the instance, you need a "shell" program. If you're on Windows, this guide suggests to install [https://git-scm.com/downloads Git Bash] for that.
In order to connect to the instance, you need a "shell" program. If you're on Windows, this guide suggests to install [https://git-scm.com/downloads Git Bash] for that.
Line 135: Line 135:
</div>
</div>


===Set up a GTNH server===
=== Set up a GTNH Server ===
<div align="justify">
<div align="justify">
1. Download the server zip from here: http://downloads.gtnewhorizons.com/ServerPacks/
1. Download the server zip from here: http://downloads.gtnewhorizons.com/ServerPacks/