player:tutorials:install_server
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
player:tutorials:install_server [2021/12/21 19:17] – 1.18.1 update deathunter | player:tutorials:install_server [2023/02/03 20:14] (current) – Update instructions to use the server launcher. modmuss50 | ||
---|---|---|---|
Line 15: | Line 15: | ||
^Name^Notes | ^Name^Notes | ||
|Java|Required|'' | |Java|Required|'' | ||
- | |Curl|Optional|'' | + | |Curl|Required|'' |
- | |Wget|Optional|'' | + | |
===== Instructions ===== | ===== Instructions ===== | ||
- Create and enter a directory to put the server in | - Create and enter a directory to put the server in | ||
- | - Transfer the latest version of the Fabric Installer | + | - Visit [[https:// |
- | * Curl: Find the download url of the installer jar from [[https:// | + | - Use one of the following methods to download the minecraft |
- | * Wget: Find the download url of the installer jar from [[https:// | + | * Curl: Copy the curl command |
- | * File transfer: Download the installer | + | * File transfer: Download the server |
- | - Run the installer. '' | + | - To launch the server, run the command as shown on the web page. |
- | - There should be a '' | + | |
- | - To launch the server, run '' | + | |
- | ===== Notes ===== | ||
- | |||
- | If you are required to name the main jar '' | ||
- | |||
- | If you are unable to run any commands on the server, you can perform all these steps on your own computer and transfer both files in your server directory | ||
- | |||
- | ===== Debian example ===== | ||
- | |||
- | <code bash> | ||
- | # Download dependencies | ||
- | sudo apt install openjdk-17-jre-headless curl | ||
- | |||
- | # Create the server folder and enter it | ||
- | mkdir fabric | ||
- | cd fabric | ||
- | |||
- | # Download the installer | ||
- | curl -o installer.jar < | ||
- | |||
- | # Run the installer | ||
- | java -jar installer.jar server -mcversion 1.18.1 -downloadMinecraft | ||
- | |||
- | # Delete installer file | ||
- | rm installer.jar | ||
- | |||
- | # Rename jars | ||
- | mv server.jar vanilla.jar | ||
- | mv fabric-server-launch.jar server.jar | ||
- | echo " | ||
- | |||
- | # Start the server | ||
- | java -jar server.jar | ||
- | </ |
player/tutorials/install_server.1640114230.txt.gz · Last modified: 2021/12/21 19:17 by deathunter