Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794
{"id":2164,"date":"2019-11-26T06:33:08","date_gmt":"2019-11-26T06:33:08","guid":{"rendered":"https:\/\/support.aklwebhost.com\/?post_type=manual_kb&p=2164"},"modified":"2019-12-06T00:16:32","modified_gmt":"2019-12-06T00:16:32","slug":"installing-multicraft-on-ubuntu","status":"publish","type":"manual_kb","link":"https:\/\/support.aklwebhost.com\/knowledgebase\/installing-multicraft-on-ubuntu\/","title":{"rendered":"Installing Multicraft on Ubuntu"},"content":{"rendered":"

What’s the difference between a\u00a0Multicraft server<\/strong>\u00a0and a Minecraft server? Well, with a\u00a0Multicraft server<\/strong>, you have the ability to run multiple servers at once with ease. Another key difference is that both servers are setup in a different manner. This article teaches you how to install a\u00a0Multicraft server<\/strong>\u00a0on Ubuntu.<\/p>\n

Install Multicraft<\/strong><\/h3>\n

First step is to update packages with apt-get.<\/p>\n

sudo apt-get update\r\n<\/code><\/pre>\n

To start off, we need to have a few applications. This includes Apache2, MySQL-Server, PHPMyAdmin, Java (OpenJDK-7-JRE), PHP5, and LibApache2-Mod-PHP5.<\/p>\n

sudo apt-get install apache2\r\nsudo service apache2 restart\r\nsudo apt-get install phpmyadmin\r\nsudo apt-get install openjdk-7-jre\r\nsudo apt-get install php5 libapache2-mod-php5 php5-mysql\r\n<\/code><\/pre>\n

Fill out any prompts accordingly during the installation of these components.<\/p>\n

Now, create a directory for where you want Multicraft to be hosted from. For the purpose of the tutorial, I will set it up in a “MultiCraft” directory.<\/p>\n

mkdir MultiCraft\r\ncd MultiCraft\/\r\n<\/code><\/pre>\n

Download and extract Multicraft. Depending on your OS type (“64x” or “32x”), you will change the\u00a0$bit$<\/code>\u00a0part in the command below.<\/p>\n

wget http:\/\/www.multicraft.org\/download?arch=linux$bit$ -O multicraft.tar.gz\r\ntar xvzf multicraft.tar.gz\r\n<\/code><\/pre>\n

Change the directory to\u00a0multicraft<\/code>.<\/p>\n

cd multicraft\/\r\n<\/code><\/pre>\n

Finally, run the given\u00a0setup.sh<\/code>\u00a0file. Fill in the prompts accordingly.<\/p>\n

.\/setup.sh\r\n<\/code><\/pre>\n

Next, go to your phpMyAdmin link (http:\/\/yourdomain.com\/phpmyadmin<\/code>) and login with the information you have previously filled out.<\/p>\n

Create a new database for the panel and daemon. The recommended names:\u00a0multicraft_panel<\/code>\u00a0and\u00a0multicraft_daemon<\/code>.<\/p>\n

After completing that, go to\u00a0http:\/\/yourdomain.com\/multicraft<\/code>, and you will see the installation page. Click “Start Installation”.<\/p>\n

If your “Minimum requirements” aren’t met due to “Protected directory”, then you can fix this issue with the following steps.<\/p>\n

    \n
  1. Edit\u00a0apache2.conf<\/code>.\n
    nano \/etc\/apache2\/apache2.conf\r\n<\/code><\/pre>\n<\/li>\n
  2. Change the “AllowOverride” from\u00a0None<\/code>\u00a0to\u00a0All<\/code>\u00a0in the following section.\n
    <Directory \/var\/www\/>\r\n<\/code><\/pre>\n<\/li>\n
  3. Save the file.<\/li>\n
  4. Restart apache2.\n
    sudo service apache2 restart\r\n<\/code><\/pre>\n<\/li>\n
  5. Reload the installation page and click “Continue” again.<\/li>\n<\/ol>\n

    You are now at the database setup page. We will be using MySQL as the database. Change “Database Type” to MySQL. Fill out each of the fields, and use the database “multicraft_panel”.<\/p>\n

    Click “Save and Test”, and the page should reload. If successful, there should be an “Initialize Database” button. Click it, and click “Continue”.<\/p>\n

    Look at the top left of the page for the “Login” button, and click it. Login with the following information:<\/p>\n

    user: admin\r\npassword: admin\r\n<\/code><\/pre>\n

    It will direct you to the database page, so just click “Continue”.<\/p>\n

    Now, fill in the same information that you did with the MySQL, except with the database “multicraft_daemon”.<\/p>\n

    Save and Test, and then\u00a0“Continue”<\/strong>.<\/p>\n

    For the next page, change what you want to change. Then proceed.<\/p>\n

    You are now at the\u00a0“Daemon configuration”<\/strong>\u00a0page.<\/p>\n

    Copy and paste everything below “#webUser” into the daemon\u00a0multicraft.conf<\/code>\u00a0file.<\/p>\n

    nano \/home\/youruser\/MultiCraft\/multicraft\/multicraft.conf\r\n<\/code><\/pre>\n

    Look for “## Example for MySQL connections” and replace the values below that with the content below “#webUser” in the installation page.<\/p>\n

    Finally, start the Multicraft daemon.<\/p>\n

    \/home\/youruser\/MultiCraft\/multicraft\/bin\/multicraft -v start\r\n<\/code><\/pre>\n

    It will print\u00a0“Started Daemon”<\/strong>\u00a0to the console.<\/p>\n

    Go back to the installation page, there will be information on “Multicraft Daemon ID 1” in a green box. This shows that the daemon is up.<\/p>\n

    Refresh the page (http:\/\/yourdomain\/multicraft<\/code>) and your installation will be complete!<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","manualknowledgebasecat":[109,243,247],"manual_kb_tag":[143],"_links":{"self":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2164"}],"collection":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/comments?post=2164"}],"version-history":[{"count":1,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2164\/revisions"}],"predecessor-version":[{"id":2165,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2164\/revisions\/2165"}],"wp:attachment":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/media?parent=2164"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manualknowledgebasecat?post=2164"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb_tag?post=2164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}