Installing Multicraft on Debian

Select distribution:
Traducciones al Español
Estamos traduciendo nuestros guías y tutoriales al Español. Es posible que usted esté viendo una traducción generada automáticamente. Estamos trabajando con traductores profesionales para verificar las traducciones de nuestro sitio web. Este proyecto es un trabajo en curso.
Deprecated

This guide has been deprecated and is no longer being maintained.

Create a Linode account to try this guide with a $ credit.
This credit will be applied to any valid services used during your first  days.

Multicraft is a control panel for single or multiple Minecraft servers Free and paid versions are available. This guide will help you install Multicraft on a Linode running Debian 7.

Note
The steps required in this guide require root privileges. Be sure to run the steps below as root or with the sudo prefix. For more information on privileges see our Users and Groups guide.

Prerequisites

Multicraft for Linux depends on several software packages in order to run.

  1. Update your system:

    apt-get update; apt-get upgrade -y
    
  2. Install Apache2, SQLite, Java, PHP, and related packages:

    apt-get install -y apache2 sqlite php5 php5-sqlite php5-gd openjdk-7-jre-headless
    
  3. In Apache’s default virtual host file under the <Directory /var/www/> section, change the AllowOverride value to all.

    File: /etc/apache2/sites-enabled/000-default
    1
    2
    3
    4
    5
    6
    
    <Directory /var/www/>
            Options Indexes FollowSymLinks MultiViews
            AllowOverride all
            Order allow,deny
            allow from all
    </Directory>
    Note
    If you want a dedicated Apache virtual host for Multicraft, follow the instructions here. Be sure to configure the AllowOverride option on your custom virtual host.
  4. Reload the Apache configuration:

    service apache2 reload
    

Installing Multicraft

  1. Download the Multicraft installer:

    wget --content-disposition http://www.multicraft.org/download/index?arch=linux64
    
  2. Expand the installer:

    tar -xzf multicraft*.tar.gz
    
  3. Move to the multicraft directory:

    cd multicraft/
    
  4. Execute the setup.sh script:

    ./setup.sh
    

    This will launch an interactive script that will prompt you to configure several options. If you’ve purchased a license for Multicraft, enter it when prompted. If you’re unsure which option to choose, press return to select the default option.

    Important
    Because of the insecure nature of FTP, we strongly recommend that you not enable the built-in FTP server when prompted.

Configuring the Control Panel

  1. In your local web browser, navigate to http://12.34.56.78/multicraft/install.php, replacing 12.34.56.78 with your Linode’s IP address or domain name. Click on Start Installation:

  2. Multicraft will check your requirements. If you completed the steps above without issue, your page should reflect the results shown below:

    Click Continue.

  3. Multicraft will attempt to copy the default config.php file into place. If successful, click Continue:

  4. On the next page, click on Initialize Database. Afterwards, click Continue:

  5. The next page will attempt to connect to the panel database. You should see the message Connection successful. You can now click on the Login button and sign in with the username and password admin:

  6. After logging in you will be directed back to the previous page, where you can now click on Continue. The next page will allow you to configure your basic settings. When done, click Save.

  7. On the daemon configuration page, you will find a start command to initiate the Multicraft Daemon. Copy the command into your terminal:

    /home/minecraft/multicraft/bin/multicraft -v start
    Multicraft 1.8.2 - Minecraft Server Manager Daemon
    Loading configuration from /home/minecraft/multicraft/multicraft.conf
    Starting daemon
    
  8. Back in your browser, click on Refresh. You should see the daemon in a green box. Click Continue:

  9. Your configuration of the Multicraft control panel is now complete. As per the instructions on the page, delete the install.php file from your terminal:

    rm /var/www/multicraft/install.php
    

Install Minecraft

  1. Navigate to the directory where Multicraft stores jar files. If you used the default options, it will be /home/minecraft/multicraft/jar/:

    cd /home/minecraft/multicraft/jar/
    
  2. Download the latest version of the Minecraft server (1.8.1 at the time of this publication) from the Minecraft Download page:

    wget https://s3.amazonaws.com/Minecraft.Download/versions/1.8.1/minecraft_server.1.8.1.jar
    
  3. Back in the Multicraft web interface, click on Servers, then Create Server. Fill in the options as you see fit, but be sure to add minecraft_server.1.8.1.jar (or your downloaded version) in the JAR File field:

  4. The first time you attempt to start the Minecraft server it will fail. By checking the Console view, you should see the following output:

    ...
    04.02 22:24:38 [Server] INFO [22:24:38] [Server thread/INFO]: Stopping server
    04.02 22:24:38 [Server] INFO [22:24:38] [Server thread/INFO]: You need to agree to the EULA in order to run the server. Go to eula.txt for more info.
    04.02 22:24:38 [Server] INFO [22:24:38] [Server thread/WARN]: Failed to load eula.txt
    ...
    
  5. After reading the End User License Agreement, open the file eula.txt in your terminal, and change the value of eula to true:

    File: /home/minecraft/multicraft/servers/server1/eula.txt
    1
    2
    3
    
    #By changing the setting below to TRUE you are indicating your agreement to our EULA (https://account.mojang.com/documents/minecraft_eula).
    #Wed Feb 04 22:24:38 UTC 2015
    eula=true

    You can now successfully start and manage your Minecraft server through Multicraft! For instructions, see [connecting to Minecraft server] (/docs/game-servers/how-to-set-up-minecraft-server-on-ubuntu-or-debian/#connect-to-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.

This page was originally published on


Your Feedback Is Important

Let us know if this guide was helpful to you.


Join the conversation.
Read other comments or post your own below. Comments must be respectful, constructive, and relevant to the topic of the guide. Do not post external links or advertisements. Before posting, consider if your comment would be better addressed by contacting our Support team or asking on our Community Site.
The Disqus commenting system for Linode Docs requires the acceptance of Functional Cookies, which allow us to analyze site usage so we can measure and improve performance. To view and create comments for this article, please update your Cookie Preferences on this website and refresh this web page. Please note: You must have JavaScript enabled in your browser.