Installing Multicraft on Ubuntu
Updated by Alex Fornuto Written by Alex Fornuto
Dedicated CPU instances are available!Linode's Dedicated CPU instances are ideal for CPU-intensive workloads like those discussed in this guide. To learn more about Dedicated CPU, read our blog post. To upgrade an existing Linode to a Dedicated CPU instance, review the Resizing a Linode guide.
Multicraft is a control panel for single or multiple Minecraft servers, with free and paid versions available. This guide will help you install Multicraft on a Linode running Ubuntu 18.04 LTS.
NoteThe steps required in this guide require root privileges. Be sure to run the steps below asroot
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.
Update your system:
apt-get update && sudo apt-get upgrade
Install Apache2 and SQLite:
apt-get install apache2 sqlite
Install PHP, SQLite, and related packages:
apt-get install php7.2 php7.2-sqlite php7.2-gd
Install Java:
apt-get install openjdk-8-jdk
In Apache’s configuration file, under the
<Directory /var/www/>
section, change theAllowOverride
value toall
.- /etc/apache2/apache2.conf
-
1 2 3 4 5
<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory>
Reload the Apache configuration:
service apache2 reload
Installing Multicraft
Download the Multicraft installer:
wget --content-disposition http://www.multicraft.org/download/index?arch=linux64
Expand the installer:
tar -xzf multicraft*.tar.gz
Move to the
multicraft
directory:cd multicraft/
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 of which options to choose, you can press
return
to select the default option, with a couple of exceptions:Unless you’re configuring a custom Apache virtual host for Multicraft, specify the location for the PHP frontend to
/var/www/html/multicraft
:Location of the PHP frontend: [/var/www/multicraft] /var/www/html/multicraft
Because of the insecure nature of FTP, we strongly recommend that you not enable the builtin FTP server when prompted:
Enable builtin FTP server? [y]/n n
Once this script finishes, you are ready to begin configuring your Multicraft install.
Configuring the Control Panel
In your local web browser, navigate to
http://12.34.56.78/multicraft/install.php
, replacing12.34.56.78
with your Linode’s IP address or domain name. Click onStart Installation
:Multicraft will check your requirements. If you completed the steps above without issue, your page should reflect the results show below:
Click
Continue
.Multicraft will attempt to copy the default
config.php
file into place. If successful, clickContinue
:On the next page, click on
Initialize Database
.Afterwards, click
Continue
:The next page will attempt to connect to the panel database. You should see the message
Connection successful
. You can now click on theLogin
button and sign in with the username and passwordadmin
.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, clickSave
.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 2.3.1 - Minecraft Server Manager Daemon Loading configuration from /home/minecraft/multicraft/multicraft.conf Starting daemon
Back in your browser, click on
Refresh
. You should see the daemon in the detected daemons list. ClickContinue
: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/html/multicraft/install.php
Install Minecraft
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/
Download the latest version of the Minecraft server (1.14.2 at the time of this publication) from the Minecraft Download page:
wget https://launcher.mojang.com/v1/objects/808be3869e2ca6b62378f9f4b33c946621620019/server.jar
In your local web browser, navigate to
http://12.34.56.78/multicraft/
, replacing12.34.56.78
with your Linode’s IP address or domain name. Click onServers
.At this time you must accept the Multicraft EULA. A pop-up window will appear. By clicking Close you are indicating your agreement to the EULA here:
http://www.multicraft.org/eula.txt
. Click Close.Click
Create Server
. Fill in the options as you see fit, but be sure to addserver.jar
(or your downloaded version) in theJAR File
field:You can now successfully start and manage your Minecraft server through Multicraft! For instructions on connecting to your Minecraft server, click here.
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.
Join our Community
Find answers, ask questions, and help others.
This guide is published under a CC BY-ND 4.0 license.