Multicraft is a powerful control panel for hosting many different Minecraft servers on the same machine. This article explains how to install Multicraft on your Ubuntu 20.04 server.
Install Apache2 and SQLite.
# apt-get install apache2 sqlite
Install PHP and the required PHP extensions.
# apt-get install php7.4 php7.4-sqlite php7.4-gd
Install Java.
# apt-get install openjdk-8-jdk
Edit the Apache configuration file /etc/apache2/apache2.conf
in your favorite text editor.
# nano /etc/apache2/apache2.conf
In the Apache configuration file, in the <Directory /var/www/>
section set the AllowOverride
option to all
.
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
Save and exit the file.
Reload the Apache configuration.
# service apache2 reload
Download the Multicraft installer.
# wget -O multicraft.tar.gz http://www.multicraft.org/download/index?arch=linux64
Extract the installer.
# tar -xzf multicraft.tar.gz
Navigate to the extracted directory.
# cd multicraft/
Run the installation script.
# ./setup.sh
The installation script asks you several configuration questions. If you're not sure how to answer them, press ENTER to go with the default answer. Answer no
when asked to enable the built-in FTP server, because it is insecure.
Open a web browser and navigate to your server's IP address with the subdirectory /multicraft/install.php
.
For instance, if your IP address is 192.0.2.2
, you would navigate to the following URL.
http://192.0.2.2/multicraft/install.php
admin
and password admin
. Click Login.Start the Multicraft daemon.
# /home/minecraft/multicraft/bin/multicraft -v start
Go back into your web browser. Click Refresh and then Continue. Then press Continue to Multicraft.
Delete the Multicraft installation file for security purposes.
# rm /var/www/html/multicraft/install.php
To prevent unauthorized access into your Multicraft panel, change the administrator account password from the default one.
admin
into the Current Password field.In this article, you have learned how to install and configure Multicraft.
For more information about Multicraft, visit the official documentation page.