Skip to main content
< All Topics
Print

How to Install Multicraft onto a Server

Table of Contents

    This article will show you how to install Multicraft onto your Centos 8 server.

    yum -y updatesudo yum install java-17-openjdk
    yum -y install httpd php php-common php-gd php-mbstring php-ldap php-odbc php-pear php-xml php-xmlrpc php-bcmath php-mysqlnd php-pdo wget vim tar zip curl
    wget -O multicraft.tar.gz https://multicraft.org/files/multicraft-2.4.0-64.tar.gz && tar xfz multicraft.tar.gz && cd multicraft && ./setup.sh

    The script will prompt you to enter the settings you wish to use for your Multicraft You may enter your settings or use our recommended 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 // 252C-8F58-D255-0C4F
    
    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 Dedicated Server 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 Dedicated Server 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 IP

    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 Dedicated Server!

    Table of Contents