Need a Minecraft server? BeastNode offers the highest performance servers with DDoS protection!

Shop for plans now

How to Install PocketMine Server 0.14 on CentOS 6 64-bit

Updated guide here:

This guide will provide steps on how you can run your own Minecraft: Pocket Edition server based on version 0.14. This version requires PHP 7, so other older guides may not be relevant.

1. First, log into your VPS as root and run the following command:
yum install -y perl gcc g++ gcc-c++ make automake libtool autoconf m4 gcc-multilib screen bison

2. Now create your non-root user to manage the server:
useradd pocketuser

3. Then set the password for that account:
passwd pocketuser
(enter password when asked)

Once that is done, SSH into your newly made account and continue with the guide.

4. Create a folder for your server data to go into:
mkdir server

Enter the folder:
cd server

5. Now download and install the necessary software for MCPE:

chmod +x


wget -N

chmod +x


wget -N

chmod +x

6. Once it is completed (it might take a while), you'll need to replace the "PocketMine-MP.phar" with an updated one. You can grab the latest one from this URL using the wget command: (get the latest version labled "pr:####" - adjust the following commands for the latest version as these steps are just an example)

Delete the existing .phar file:
rm PocketMine-MP.phar
Download the latest .phar file:

Rename the newly downloaded file:
mv 'pr:4023.phar' PocketMine-MP.phar

7. Now you can start up the server:

8. It will ask you to set the language, accept the license, and to go through the setup wizard (or skip it - we recommend using it). The setup wizard will go over settings such as your server name, server port, creative/survival mode, max player slots, spawn protection, op, whitelist, query, rcon, etc. Alternatively, you can also set those settings in the file later on.

Once that is all done, your server should now start up and you should see the server message console indicating that it is done. However, with this method, your server will shut down if you log off of your VPS, so run this command in the MCPE server console to stop the server: stop

9. Now you can start up your server to stay online even if you're not logged into your VPS with this command:
(make sure you are in your "server" directory" before using this command):
screen -m -d -S peserver ./

To access your server console with this method, just use this command:
screen -x

To exit the "screen" session, use the following key combos on your keyboard:
CTRL+A then press the "d" key.

10. You're all done! Now all you have to do is join your server by entering the IP of your VPS into your game in the add server menu and you're all set! It is recommended that you follow some basic security guidelines in this guide to secure your server.

Was this answer helpful?

 Print this Article

Also Read

How to install a Starbound server on your VPS (Ubuntu)

Although this guide is for Ubuntu, these same steps may apply to other operating systems/distros....

How to Install Apache Web Server and PHP on CentOS VPS

How to Install the Apache Web Server and PHP on CentOS VPSThis guide will explain the basics on...

Protect SSH with Fail2Ban on CentOS 6

Fail2Ban is an SSH security program that blocks SSH brute force attempts on your server (as well...

Accessing your VPS Server using SFTP (Secure FTP)

There are two ways to access your VPS files - SFTP or via SSH commands. SSH commands are for more...

How to Use the VPS Serial Console

The VPS serial console allows you to access your cloud VPS server with SSH directly from the back...