This article will show you how to install Multicraft onto your VPS, Please ensure you are running CentOS 7.5. For this guide we will be using sqlite rather than MySQL although you may choose MySQL if you prefer.

First off we need to ensure your system is up to date
yum -y update

Once that has run, We now need to install all the dependencies for you to run Multicraft and Minecraft.
yum -y install httpd php php-common php-gd php-mbstring php-ldap php-odbc php-pear php-xml php-xmlrpc php-bcmath php-mysql php-pdo wget vim tar zip curl java-1.8.0-openjdk

Once that has installed, we now need to download and run the Multicraft installer, this can be done using the command below
wget -O multicraft.tar.gz && tar xfvz multicraft.tar.gz && cd multicraft && ./

The script will prompt you to enter the settings you wish to use for your Multicraft, You may enter your own settings or use our recomended settings here
Run each Minecraft server under its own user? (Multicraft will create system users): [y]/n y

Run Multicraft under this user: [minecraft] minecraft

User not found. Create user 'minecraft' on start of installation? [y]/n y

Install Multicraft in: [/home/minecraft/multicraft] /home/minecraft/multicraft

If you have a license key you can enter it now: [no] *Enter license key if you have one*

If you control multiple machines from one control panel you need to assign each daemon a unique ID (requires a Dynamic or custom license). Daemon ID? [1] 1

Will the PHP frontend run on this machine? [y]/n y

User of the webserver: [www-data] apache

Location of the PHP frontend: [/var/www/multicraft] /var/www/html

Enable builtin FTP server? [y]/n y

IP the FTP server will listen on (empty for same as daemon): [] *Just hit enter*

FTP server port: [21] 21

Block FTP upload of .jar files and other executables (potentially dangerous plugins)? [y]/n n

What kind of database do you want to use? [sqlite]/mysql sqlite

Ready to install Multicraft. Start installation? [y]/n y

Now you have installed Multicraft, we need to ensure that the other settings on your VPS are correctly configured.

We need to make sure that your frontend website files have the correct permissions configured
chown -R apache.apache /var/www/html

We need to allow Apache's configuration to allow .htaccess overrides
awk '/AllowOverride None/{c++;if(c==2){sub("AllowOverride None","AllowOverride All");c=0}}1' /etc/httpd/conf/httpd.conf > /tmp/httpd.conf; mv -f /tmp/httpd.conf /etc/httpd/conf/httpd.conf

Now we want to ensure that the apache service boots after a VPS Reboot
systemctl enable httpd
systemctl restart httpd

To finish your installation we need to head over to Multicraft itself and run their web installer, Head to your VPSes IP in the browser such as

Once there, You'll see this screen, Press "Start Installation"

You will then be prompted to initialize your panel and server databases, Simply press Initialize Database on both and then save the changes, You'll finally be prompted with a Settings screen, Just press Save at the bottom and you've successfully installed Multicraft onto your VPS!
Was this article helpful?
Thank you!