Install Minecraft Pocket Edition Server (Nukkit) on CentOS 7 64-bit
Installing Minecraft: Pocket Edition servers has never been easier with the advent of Nukkit (the free MC:PE server software created by some awesome volunteers).
To start off, make sure your VPS is running CentOS 7 64-bit. This guide may apply to some other Linux distros, but we specifically tested it on CentOS 7.
First, Java will need to be installed to get it to work.
1. SFTP into your server using an FTP client such as FileZilla. We have a separate guide here for that: https://www.beastnode.com/portal/knowledgebase/92/Accessing-your-VPS-Server-using-SFTP-Secure-FTP.html
2. Download the latest version of Java JRE or JDK (either works) from here: http://www.oracle.com/technetwork/java/javase/downloads/index.html
Make sure you grab the "Linux x86" version in the .rpm format.
3. Upload the file to any directory in your server via the SFTP client.
4. After the file is uploaded, run this command from SSH (replace the filename as necessary):
rpm -Uvh filenameofjavainstaller.rpm
5. Type out "java -version" to verify that it is correctly installed.
As the root user on your VPS, navigate to an appropriate directory to run the server from (we'll use /home in this example):
Download the latest server .jar file (Jenkins source: http://ci.mengcraft.com:8080/job/nukkit/)
Now run the server (replace "###" with the amount of RAM in megabytes you want it to run with)
java -Xms###M -Xmx###M -jar nukkit-1.0-SNAPSHOT.jar
You may be presented with a menu to select the language you want things to run in. Type "eng" and hit enter to use English.
Now stop the server with this command so it can be configured (the server always has to be stopped to change settings):
The config files of interest are server.properties and nukkit.yml.
You won't be able to access your server until you configure the firewall with the following command:
iptables -I INPUT -p udp --dport 19132 -j ACCEPT
You're all done! Now all you have to do is start the server up again with the java command as shown above and join your server on port 19132 (by default).
Was this answer helpful?
This is a list of frequently used Linux SSH/shell commands. It may not apply to all Linux...
Updated guide here:...
Updated Guide Here:...
There are two ways to access your VPS files - SFTP or via SSH commands. SSH commands are for more...
This guide will provide you with all the steps necessary to install a simple OpenVPN server on...