User Tools

Site Tools


player:tutorials:install_server

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
player:tutorials:install_server [2021/02/13 00:30] – Created ramidzkhplayer:tutorials:install_server [2021/12/21 19:17] – external edit 127.0.0.1
Line 5: Line 5:
 ===== Requirements ===== ===== Requirements =====
  
-You will require a version of Java of minimum version 8+For Minecraft 1.16.X or older, the required version of Java is 8+ 
 +For Minecraft 1.17.X, the required version of Java is 16+ 
 +For Minecraft 1.18.X or newer, the required version of Java is 17+
  
 You will also need a way to download files to the server. This can be done using a file transfer, [[https://curl.se/|curl]] or [[https://www.gnu.org/software/wget/|wget]] You will also need a way to download files to the server. This can be done using a file transfer, [[https://curl.se/|curl]] or [[https://www.gnu.org/software/wget/|wget]]
Line 11: Line 13:
 ==== Installing dependencies ==== ==== Installing dependencies ====
  
-^Name^Notes   ^Debian (Ubuntu, Mint, WSL, …)    ^Fedora                                ^ +^Name^Notes   ^Debian (Ubuntu, Mint, …)             ^Fedora                                ^ 
-|Java|Required|''%%apt install openjdk-8-jre%%''|''%%yum install java-1.8.0-openjdk%%''+|Java|Required|''%%apt install openjdk-8-jre-headless%%''|''%%dnf install java-1.8.0-openjdk-headless%%''
-|Curl|Optional|''%%apt install curl%%''         |''%%yum install curl%%''              +|Curl|Optional|''%%apt install curl%%''                  |''%%dnf install curl%%''                       
-|Wget|Optional|''%%apt install wget%%''         |''%%yum install wget%%''              |+|Wget|Optional|''%%apt install wget%%''                  |''%%dnf install wget%%''                       |
  
 ===== Instructions ===== ===== Instructions =====
Line 21: Line 23:
   - Transfer the latest version of the Fabric Installer   - Transfer the latest version of the Fabric Installer
     * Curl: Find the download url of the installer jar from [[https://fabricmc.net/use/|this page]] (right click the button and copy the download link). Then, inside the server directory, run ''%%curl -o installer.jar <paste link here>%%''     * Curl: Find the download url of the installer jar from [[https://fabricmc.net/use/|this page]] (right click the button and copy the download link). Then, inside the server directory, run ''%%curl -o installer.jar <paste link here>%%''
-    * Wget: Find the download url of the installer jar from [[https://fabricmc.net/use/|this page]] (right click the button and copy the download link). Then, inside the server directory, run ''%%wget -installer.jar <paste link here>%%''+    * Wget: Find the download url of the installer jar from [[https://fabricmc.net/use/|this page]] (right click the button and copy the download link). Then, inside the server directory, run ''%%wget -installer.jar <paste link here>%%''
     * File transfer: Download the installer jar from [[https://fabricmc.net/use/|this page]] and transfer it into the server directory     * File transfer: Download the installer jar from [[https://fabricmc.net/use/|this page]] and transfer it into the server directory
   - Run the installer. ''%%java -jar installer.jar server -mcversion <Minecraft version> -downloadMinecraft%%''   - Run the installer. ''%%java -jar installer.jar server -mcversion <Minecraft version> -downloadMinecraft%%''
Line 37: Line 39:
 <code bash> <code bash>
 # Download dependencies # Download dependencies
-sudo apt install openjdk-8-jre curl+sudo apt install openjdk-17-jre-headless curl
  
 # Create the server folder and enter it # Create the server folder and enter it
Line 44: Line 46:
  
 # Download the installer # Download the installer
-curl -o installer.jar https://maven.fabricmc.net/net/fabricmc/fabric-installer/0.6.1.51/fabric-installer-0.6.1.51.jar+curl -o installer.jar <installer jar url>
  
 # Run the installer # Run the installer
-java -jar installer.jar server -mcversion 1.16.-downloadMinecraft+java -jar installer.jar server -mcversion 1.18.-downloadMinecraft
  
 # Delete installer file # Delete installer file
player/tutorials/install_server.txt · Last modified: 2023/02/03 20:14 by modmuss50