Setup a Minecraft PE Server on CentOS 6

  • Last Created On Dec 09, 2024
  • 8
0 0

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!

Views: 8

Recent Articles

  • How to Install JAX with ROCm Acceleratio...
    96
  • Deploy a PyTorch Workspace on a Vultr Cl...
    71
  • Managing Backup Storage
    83
  • Automating FTP Backups in Windows Server
    71
  • Automating FTP Backups in Linux
    75

Popular Articles

  • Our General Terms & Conditions
    2631
  • Our Privacy Policy
    2477
  • Our Cookies Policy
    275
  • Our Terms of Use
    152
  • How to Install JAX with ROCm Acceleratio...
    96