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 serverNavigate to the Folder
Navigate to the folder you created:
cd serverDownload the ZIP Archive
Download the powernukkitx-run.zip archive with the following command:
wget https://github.com/PowerNukkitX/PowerNukkitX/releases/download/snapshot/powernukkitx-run.zipExtract the Archive
Extract the contents of the ZIP archive into the folder you created:
unzip powernukkitx-run.zipThe 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.jarYou can delete the ZIP archive after extraction.
rm powernukkitx-run.zipDownload the start.sh File
Download the start.sh startup file with this command:
wget https://raw.githubusercontent.com/PowerNukkitX/scripts/master/start.shGrant Execution Permissions
Grant execution permissions to the startup file:
chmod +x start.shFolder Structure
Your folder structure should look like this:
- start.sh
- powernukkitx.jar
Start the Server
Execute the startup file:
./start.shAfter 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.