multicraft install page - Multicraft - the minecraft hosting solution

How to Install Multicraft On CentOS 7

How to Install Multicraft On CentOS 7

What is the Multicraft Control Panel?

Multicraft is a powerful Minecraft control panel witch is brilliant for manging you’re servers or for hosting companies wanting to sell Minecraft hosting with a WHMCS and BoxBilling module with Multicraft you get the ability to limit server ram and player slots the configs and who has console and ftp access to the server (per mc server)

Installing the Dependencies

first its always a good idea to check for updates on you’r systeam

$ yum y update

next we want to install the dependencies, that multicraft requires to run (httpd, php, curl, zip, tar, wget, vim, java 1-8-0 php-mysql and a few other things)

$ 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 installed 

Ok now we want to download and start installing multicraft

$ wget O multicraft.tar.gz http://www.multicraft.org/download/linux64
$ tar xfvz multicraft.tar.gz
$ cd multicraft
$ ./setup.sh

Now that its installing it will prompt you with a few settings options, I would recommend running each minecraft server under its own user as it says

next we need to make sure the web

$ chown R apache.apache /var/www/html

Now we need to allow override in apache

$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

 

and now enable and restart apache/httpd

$ systemct1 enable httpd

$ service httpd restart

 

now visit the IP address of the server for example http://172.0.0.2/install.php

multicraft install page - Multicraft - the minecraft hosting solution

click start install.

Now we need to setup our databases

i would just use the default (SQLite) as it docent really matter and it makes it easier to move the multicraft to another server in the future.

 

once you’ve done that, we can now login to multicraft

The default username is admin and the password is admin as well.

 

now its a good idea to enable multicraft as a service so it can boot on lunch ( something i never did for 6months.. so every time i restarted i had to run systemctl start multicraft)

first thing we need to do to make it a service is to create a .service file you can find some online or use the example below.

$ nano /lib/systemd/system/multicraft.service

Now paste this in ( from ssh you can right click after you’ve put it in you clipboard

[Unit]
Description=IGSteven's Multicraft Startup Script
After=syslog.target network.target
 
[Service]
Type=forking
PIDFile=/home/minecraft/multicraft/multicraft.pid
ExecStart=/home/minecraft/multicraft/bin/multicraft -v start
ExecReload=/home/minecraft/multicraft/bin/multicraft -v restart
ExecStop=/home/minecraft/multicraft/bin/multicraft -v stop

[Install]
WantedBy=multi-user.target

now save and you should be good,

$ systemctl enable multicraft 
$ systemctl start multicraft

just like multicraft says we should remove the install file from the public so that people don’t just reinstall mutlicraft, i usually just put it in the /var/www folder

$ mv /var/www/html/install.php /var/www/

 

In the next part I’ll show you how to setup jars on multicraft and creating a server

Mutlicraft install page

IGSteven / October 31, 2017 / Development, Random / 5 Comments