Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Server Install/Linux: Difference between revisions

From Vault Hunters Official Wiki
Created page with "<ol> <li>Install Java 17 <ul> <li>{{Hidden | Ubuntu/Debian | <pre> sudo apt update sudo apt install openjdk-17-jdk java --version </pre> }}</li> <li>{{Hidden | CentOS/RHEL/Fedora/Rocky | <pre> sudo dnf install java-17-openjdk-devel..."
 
mNo edit summary
Line 4: Line 4:
             <li>{{Hidden
             <li>{{Hidden
                 | Ubuntu/Debian
                 | Ubuntu/Debian
                 |
                 |<pre>
                <pre>
                 sudo apt update
                 sudo apt update
                 sudo apt install openjdk-17-jdk
                 sudo apt install openjdk-17-jdk
                 java --version
                 java --version
                 </pre>
                 </pre>}}
              }}</li>
            </li>
             <li>{{Hidden
             <li>{{Hidden
                 | CentOS/RHEL/Fedora/Rocky
                 | CentOS/RHEL/Fedora/Rocky

Revision as of 01:08, 22 July 2025

  1. Install Java 17
    • Ubuntu/Debian
                       sudo apt update
                       sudo apt install openjdk-17-jdk
                       java --version
                       


    • CentOS/RHEL/Fedora/Rocky
                       sudo dnf install java-17-openjdk-devel
                       java --version
                       
    • MacOS (using Homebrew)
                       brew install openjdk@17
                       java --version
                       
    • CentOS/RHEL/Fedora/Rocky
                       sudo dnf install java-17-openjdk-devel
                       java --version
                       
    • FreeBSD/OpenBSD (via pkg)
                       pkg install openjdk17
                       java --version
                       
    • If you followed the commands above, you should see an output similar the following, after running java --version
      • openjdk version "17.0.12" 2024-07-16 LTS
        OpenJDK Runtime Environment Microsoft-9889599 (build 17.0.12+7-LTS)
        OpenJDK 64-Bit Server VM Microsoft-9889599 (build 17.0.12+7-LTS, mixed mode, sharing)
  2. Create Server Directory
    • mkdir ~/VaultHunters-Server
      cd ~/VaultHunters-Server
  3. Download and Install Forge
    • TBD
  4. Download Server Files
    • Navigate to the Vault Hunters CurseForge page
    • Go to the "Files" tab
    • Find version 3.18.3
    • Click on the version to view details
    • In the "Additional Files" section, download the Server Pack
    • Extract the server files to your server directory
  5. Create Start Script
    • Create a file named start.sh in your server directory:
    • TBD

Important: Replace [version] in the jar filename with the actual Forge version number from your downloaded files.

  1. Initial Server Setup
    • Run the server for the first time:
      • ./start.sh
    • The server will create necessary files and then stop
    • Edit eula.txt and change eula=false to eula=true:
      • nano eula.txt
    • Optionally, edit server.properties to configure server settings:
      • nano server.properties
  2. Start Your Server
    • Execute ./start.sh to start your server. First startup may take several minutes as Forge loads all mods.