How to Install Multicraft on a VPS or Dedicated Server (Ubuntu 13.04 64 bit) Introduction Prerequisites This tutorial will show you step-by-step on how to install Multicraft 1.8.2 on a new VPS or dedicated server running the Ubuntu 13.04 64 bit operating system. This tutorial will also work on older Ubuntu operating systems including 11.10, 12.04, and 12.10. Be sure that the operating system you choose is 64 bit though. As of writing this, Multicraft no longer supports 32 bit Linux operating systems. If you choose to install CentOS 5 or 6 on your VPS or dedicated server, this tutorial does not apply to you. This tutorial assumes you are already logged in to SSH as root on the server. To start off, Multicraft requires a number of 3 rd party software to be able to run correctly. Fortunately, on Ubuntu, this software is easily installed. Below are the steps you need to take to install these prerequisites via SSH commands. Be sure to follow each step one at a time and do not include the quotes on each command. 1. apt-get update && apt-get y upgrade be sure your system is up-to-date. 2. apt-get y install openjdk-7-jre install the latest version of Java. 3. apt-get y install zip unzip nano wget htop bmon install various tools to allow additional Multicraft features to work as well as monitor your server when Multicraft is installed. 4. apt-get y install apache2 php5 mysql-server install the apache web server, PHP, and MySQL. When installing MySQL it will ask for root (admin) password. Set this to whatever you want but be sure you remember it!
5. apt-get y install php5-curl php5-sqlite && service apache2 restart install additional PHP packages required for Multicraft. 6. apt-get y install phpmyadmin install phpmyadmin, a web-based database administration tool. During installation, it will ask you to choose the web server phpmyadmin is running on. Press <spacebar> on the apache2 option, then press enter. Also, answer yes to any other phpmyadmin configuration options. This will ask you for a password as well. Generally, you should set this to be the same password you chose for the MySQL root account. 7. You now need to make some changes to apache for the Multicraft web panel to work correctly and be secure. a2enmod rewrite will enable the rewrite module for apache. nano /etc/apache2/sites-enabled/000-default will open a configuration file similar to below: Look in the <Directory /var/www/> section and find AllowOverride None and change it to AllowOverride All. Next, press CTRL+O, <Enter> to save and CTRL+X to exit. 8. service apache2 restart restart apache again to commit your configuration changes.
Install Multicraft Daemon Multicraft is comprised of two parts: the daemon and the panel. The daemon software runs on the physical server and controls all Minecraft servers you have running. The panel is the web-based panel that you will use to administrate your servers. 1. cd /tmp navigate to the tmp directory. 2. wget http://www.multicraft.org/download?arch=linux64 -O multicraft.tar.gz download the latest Multicraft version for Linux 64 bit. 3. tar xvzf multicraft.tar.gz extract the Multicraft files. 4. cd multicraft navigate to the multicraft directory. 5../setup.sh run the Multicraft daemon installer. Below are the answers you should give to each configuration option in the installer: a. y b. minecraft c. y d. /home/minecraft/multicraft e. Enter your license key, if you have one f. 1 g. y h. www-data i. /var/www/multicraft j. y k. Your server s main IP l. 21 m. n n. mysql o. 127.0.0.1 p. multicraft_daemon q. root r. MySQL root password you set above s. y t. <Enter> u. n 6. cd../ && rm rf multicraft.tar.gz multicraft && cd Multicraft daemon has been installed, now remove the installation files. 7. If you want to customize your daemon a bit more, you can do nano /home/minecraft/multicraft/multicraft.conf and take a look at the other configuration options such as the daemon s name and maximum amount of memory. However, those additional options are out of the scope of this simplistic tutorial. Install Multicraft Panel
Conclusion 1. Open your browser and head over to http://your_server_ip/multicraft 2. Click Start Installation a. All the requirements checks should be Passed. If the Protected directory check is failed, go back to SSH and type service apache2 restart then reload the web page and it should display as Passed. 3. Click Continue 4. Click Continue 5. Enter your MySQL connection details: a. Database Type: MySQL b. Database Host: 127.0.0.1 c. Database Name: multicraft_panel d. Database Username: root e. Database Password: Your root MySQL password i. Before clicking Save and Test go to http://your_server_ip/phpmyadmin and login with your MySQL root details. Then, click Databases on the top and create two new Collation databases named multicraft_panel and multicraft_daemon. You can now logout of phpmyadmin as you will not need it from now on. f. Click Save and Test g. The connection should be successful, just click Initialize Database then Continue 6. Login to the actual panel now with admin and admin as the username and password, respectively. 7. Click continue 8. Enter your MySQL connection details: a. Database Type: MySQL b. Database Host: 127.0.0.1 c. Database Name: multicraft_daemon d. Database Username: root e. Database Password: Your root MySQL password f. Clcik Save and Test g. The connection should be successful, just click Initialize Database then Continue 9. You will now be presented with the Multicraft panel settings. You can leave them all as default or change them to whatever you d like. When finished, click Save 10. Head back to SSH and type /home/minecraft/multicraft/bin/multicraft v start 11. You should see your daemon appear on the Multicraft Detected Daemons now. Click Refresh, then Continue 12. Click Continue to Multicraft Congratulations! You now have a working Multicraft installation where you can create servers, users, modify settings, and whatever else you d like to do. Please note that this tutorial is only going to show
you how to setup one panel and one daemon running on the same server. There are some additional steps that need to be done in order to have multiple daemons share one panel like hosting providers offer. However, that type of setup is outside the scope of this tutorial.