Server Setup (Linux): Difference between revisions
m
remove redundant backslash
JurreJelle (talk | contribs) mNo edit summary |
JurreJelle (talk | contribs) m (remove redundant backslash) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1:
''This guide is written specifically for running a remote server on Linux with Java 17+. For general information and other platforms, see [[Server Setup]].''
* '''Latest Revision:''' May 2024, GTNH version 2.6.0.
Line 63 ⟶ 64:
This will connect to the (ubuntu) server you have created using the SSH protocol. For the purpose of this tutorial, this will be referred to as Connecting or SSH'ing.
Open PuTTY. Open the ssh field on the left, and click (do not open) "auth".
[[File:Putty auth
After doing this, scroll back up and click "Session" (the very top option) to go back to the initial view.
In here, under the "Host Name (or IP address)" enter "root@[ip]", where
Enter a name for your session under "Saved Sessions", and click Save.
Line 75 ⟶ 76:
Now click "Open" and it will connect to your server. (If you get a warning, click "Accept").
It will ask you to enter the passphrase you set to unlock your key (if you set one). When you type, your text will not appear on the screen, but it is registering your keystrokes. Just type your passphrase and press enter.
If everything went well, you have now connected to your server, and the bottom line of your terminal should say <code>root@[server-name]:~#</code>
Line 93 ⟶ 96:
Step 3. Download the server zip from [http://downloads.gtnewhorizons.com/ServerPacks/ the serverpacks download]. You want the java 17-21 version. Right click -> copy URL to get the url to download.
<code>
Step 4. Unzip the server ZIP file into a folder called GTNH-Server. In this case (FOR VERSION 2.6.0),
Line 132 ⟶ 135:
<code>mv [file1] [file2]</code> will move file1 to file2, so e.g. if you wanna move a mod that you accidentally downloaded into the main GTNH-Server folder, <code>mv my-mod.jar mods/my-mod.jar</code> would fix that
<code>cp [file1] [file2]</code> will copy
==== Pollution ====
|