Setup a Minecraft PE Server on CentOS 6

This article will teach you how to setup a Minecraft Pocket Edition server on CentOS 6. Setting up a Minecraft PE server is quite simple.

First, install the required libraries.

yum -y install m4 automake autoconf make gcc libtool

Once these libraries have finished installing, you must install the server script. We will be using PocketMine.

wget http://downloads.sourceforge.net/project/pocketmine/linux/installer.sh

Chmod the server script to make it executable.

chmod +x ./installer.sh

Begin the install process. This may take up to 5 minutes to install.

./installer.sh

Next, start the server.

./start.sh

Voila. We just need to make sure that port 19132 is open so that people can join. To open it in CentOS 6, run the following commands.

iptables -A INPUT -p tcp -m tcp --dport 19132 -j ACCEPT
service iptables save
service iptables restart

If you are running CentOS 7, then you must use firewalld to open it. To do so, perform the following commands:

firewall-cmd --zone=dmz --add-port=19132/tcp --permanent
firewall-cmd --reload

Your server is ready to go! Happy building!

  • Minecraft, Linux Guides, Game Servers, CentOS
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Setup Ragnarok Online Server on Ubuntu 14.04 x64

In this article, we are going to setup a Ragnarok Online Server on Ubuntu 14.04 x64. You can be...

Setting up a Name Server for IPv6 rDNS in CentOS

Managing your own IPv6 rDNS is a fairly simple task. After setting up the name server, please...

Reset the Root Password in CentOS

If you have forgotten the root password it is possible to set a new one by interrupting the boot...

How to Install and Configure vsftpd on CentOS 7

FTP (File Transfer Protocol) is one of the most popular methods to upload files to a server....

How to enable EPEL repository?

The EPEL repository is an additional package repository that provides easy access to install...