====== Installing a Fabric Server without a GUI ====== Let’s say that you want to install a Fabric server on a machine which does not have GUI support. For example, if you have rented a VPS, and you want to run your own Fabric server on that ===== Requirements ===== * For Minecraft 1.16.5 or older, the required version of Java is 8 * For Minecraft 1.17.2, the required version of Java is 16 * For Minecraft 1.18.2 to 1.20.4, the required version of Java is 17 * For Minecraft 1.20.5 or newer, the required version of Java is 21 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]] ==== Installing dependencies ==== ^Name^Notes ^Debian (Ubuntu, Mint, …) ^Fedora ^ |Java|Required|''%%apt install openjdk-8-jre-headless%%''|''%%dnf install java-1.8.0-openjdk-headless%%''| |Curl|Required|''%%apt install curl%%'' |''%%dnf install curl%%'' | ===== Instructions ===== - Create and enter a directory to put the server in - Visit [[https://fabricmc.net/use/server/|the Minecraft Server download page]] and configure the desired versions - Use one of the following methods to download the minecraft server .jar to your server. * Curl: Copy the curl command from [[https://fabricmc.net/use/server/|this page]]. Then inside the server directory run the command to download the server jar file. * File transfer: Download the server jar from [[https://fabricmc.net/use/server/|this page]] and transfer it into the server directory. - To launch the server, run the command as shown on the web page.