Manual Installation of PowerNukkitX for Linux/Debian
The following steps are for Debian, but they can be adapted for other Linux distributions.
💡
You will need
wget
or curl
and unzip
to download and extract the ZIP archive. If you don't have them, you can install them with apt install wget unzip
.Create a Folder for PowerNukkitX
Create a folder for PowerNukkitX, for example, server
:
mkdir server
Navigate to the Folder
Navigate to the folder you created:
cd server
Download the ZIP Archive
Download the powernukkitx-run.zip
archive with the following command:
wget https://github.com/PowerNukkitX/PowerNukkitX/releases/download/snapshot/powernukkitx-run.zip
Extract the Archive
Extract the contents of the ZIP archive into the folder you created:
unzip powernukkitx-run.zip
The contents should look like this:
- powernukkitx-run.zip
- cli.jar
- powernukkitx.jar
💡
You can delete
cli.jar
, it will not be used because we will use start.sh
.rm cli.jar
You can delete the ZIP archive after extraction.
rm powernukkitx-run.zip
Download the start.sh File
Download the start.sh
startup file with this command:
wget https://raw.githubusercontent.com/PowerNukkitX/scripts/master/start.sh
Grant Execution Permissions
Grant execution permissions to the startup file:
chmod +x start.sh
Folder Structure
Your folder structure should look like this:
- start.sh
- powernukkitx.jar
Start the Server
Execute the startup file:
./start.sh
After starting, your folder structure should look like this:
- start.sh
- powernukkitx.jar
Your Server is Now Online
You can now connect to your server using your server's IP address and the default port 19132
.