Installing McMyAdmin for Minecraft on Debian

McMyAdmin is one of the most popular Minecraft server control panels available. It boasts compatibility with third party mods, heavy focus on security and a sleek web interface for managing your server. This guide covers the installation and configuration of a new McMyAdmin server on a Linode running Debian 7 or 8. Be aware that to actually play on a Minecraft server you must also have the game client from minecraft.net.

Before You Begin

Familiarize yourself with our Getting Started guide and complete the steps for setting your Linode’s hostname and timezone.

This guide will use sudo wherever possible. Complete the sections of our Securing Your Server guide to create a standard user account, harden SSH access and remove unnecessary network services. Do not follow the Configure a Firewall section yet–this guide includes firewall rules specifcally for a Minecraft server.

Update your system.

1

sudo apt-get update && sudo apt-get upgrade

Configure a Firewall

Now see Securing Your Server again and complete the section on iptables for your Linux distribution using the rulesets below:

By default, both McMyAdmin and Minecraft operate on IPv4, but unlike a default Minecraft server installation, McMyAdmin does not listen for incoming IPv6 traffic. Since Minecraft can not use both protocols simultaneously, IPv4 is usually chosen over IPv6 because of its much greater availablity, thus including players whose ISPs or hardware don’t support IPv6.

If you choose not to use IPv6 on your Minecraft server, then it needs only basic IPv6 firewall rules.

Install Prerequisite Software

Install the Java Runtime Environment, OpenJDK:

1

sudo apt-get install openjdk-7-jre

Mono. CubeCoders Limited, the company behind McMyAdmin, packages its own minimal installation of Mono with some necessary source and configuration files. This must be used instead of the generic Mono packages from Debian’s repositories.

Install and Start McMyAdmin

This section should be completed as your standard user, not as root. McMyAdmin will then install to /home/username.

Create the installation directory and change location to it.

1

mkdir ~/mcmyadmin && cd ~/mcmyadmin

Download the McMyAdmin installer. You will want to double check its Download page to be sure you’re grabbing the latest version.

1

wget http://mcmyadmin.com/Downloads/MCMA2_glibc26_2.zip

Extract the archive and delete the original zip file.

1

unzip MCMA2_glibc26_2.zip; rm MCMA2_glibc26_2.zip

Start the initial configuration of McMyAdmin. Replace PASSWORD with a strong password which you want for admin access to McMyAdmin’s web interface.

1

./MCMA2_Linux_x86_64 -setpass PASSWORD -configonly

This will return the output:

1
2
3
4

The updater will download and install McMyAdmin to the current directory:
/home/your_user/mcmyadmin).
Continue? [y/n] :

Answer y. The installer will run and return you to the command prompt. If everything is as it should be, the only warning you’ll see will be for a missing configuration file. As the output says, that would be normal since McMyAdmin was just started for the first time.

Install screen, if it is not already installed.

1

sudo apt-get install screen

Start a screen session for the McMyAdmin client.

1

screen -S mcma

Change into the McMyAdmin installation directory and start the program.

1

cd ~/mcmyadmin; ./MCMA2_Linux_x86_64

If successful, the last three lines of the output will be:

1
2
3

Notice : McMyAdmin has started and is ready for use.
Notice : This is the first time McMyAdmin has been started.
Notice : You must complete the first-start wizard via the web interface.

To exit McMyAdmin and return to the command line, enter /quit.

Managing your Minecraft Server

Browse to the McMyAdmin web interface by visiting http://YourLinodeIP:8080.

Log in with the username admin and the password that you provided in the installation step.

Once the initial configuration steps are completed, select your settings and then switch to the status page.

Select Start Server and accept the Minecraft Server EULA.

Congratulations, you now have McMyAdmin running on your Minecraft server!

More Information

You may wish to consult the following resources for additional information on this topic. While these are provided in the hope that they will be useful, please note that we cannot vouch for the accuracy or timeliness of externally hosted materials.