Installing Multicraft on Ubuntu

What’s the difference between a Multicraft Server and a Minecraft server? Well, with a Multicraft Server, you can quickly run multiple servers at once. Another key difference is that both servers are set up differently. This article teaches you how to install a Multicraft Server on Ubuntu.

Install Multicraft

The first step is to update packages with apt-get.

sudo apt-get update

To start off, we need to have a few applications. This includes Apache2, MySQL-Server, PHPMyAdmin, Java (OpenJDK-7-JRE), PHP5, and LibApache2-Mod-PHP5.

sudo apt-get install apache2
sudo service apache2 restart
sudo apt-get install phpmyadmin
sudo apt-get install openjdk-7-jre
sudo apt-get install php5 libapache2-mod-php5 php5-mysql

Fill out any prompts accordingly during the installation of these components.

Now, create a directory where you want Multicraft to be hosted from. For the tutorial, I will set it up in a MultiCraft directory.

mkdir MultiCraft
cd MultiCraft/

Download and extract Multicraft. Depending on your OS type (“64x” or “32x”), you will change the $bit$ part in the command below.

wget http://www.multicraft.org/download?arch=linux$bit$ -O multicraft.tar.gz
tar xvzf multicraft.tar.gz

Change the directory to Multicraft.

cd multicraft/

Finally, run the given setup.sh file. Fill in the prompts accordingly.

./setup.sh

Next, go to your phpMyAdmin link (http://yourdomain.com/phpmyadmin) and log in with the information you have previously filled out.

Create a new database for the panel and daemon. The recommended names are multicraft_panel and multicraft_daemon.

After completing that, go to http://yourdomain.com/multicraft, and you will see the installation page. Click “Start Installation”.

If your Minimum requirements aren’t met due to the Protected directory, then you can fix this issue with the following steps.

Edit apache2.conf.

nano /etc/apache2/apache2.conf

Change the Allow Override from None to All in the following section.

<Directory /var/www/>

Save the file.

Restart Apache2.  sudo service apache2 restart

Reload the installation page and click Continue again.

You are now at the database setup page. We will be using MySQL it as the database. Change Database Type to MySQL. Fill out each of the fields, and use the database multicraft_panel.

Click Save and Test, and the page should reload. If successful, there should be a Initialize Database button. Click it, and click Continue.

Look at the top left of the page for the Login button, and click it. Log in with the following information:

user: admin
password: admin

It will direct you to the database page, so just click Continue.

Now, fill in the same information that you did with MySQL, except with the database multicraft_daemon.

Save and Test, and then Continue.

For the next page, change what you want to change. Then proceed.

You are now at the Daemon configuration page.

Copy and paste everything below #webUser into the daemon multicraft.conf file.

nano /home/youruser/MultiCraft/multicraft/multicraft.conf

Look for ## Example for MySQL connections and replace the values below that with the content below #webUser on the installation page.

Finally, start the Multicraft daemon.

/home/youruser/MultiCraft/multicraft/bin/multicraft -v start

It will print Started Daemon to the console.

Go back to the installation page, and there will be information Multicraft Daemon ID 1 in a green box. This shows that the daemon is up.

Refresh the page (http://yourdomain/multicraft), and your installation will be complete!