Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Multicraft install instructions for Ubuntu 14.04.2 LTS 64 bit
- ## These instructions are for a fresh Ubuntu 14.04 install (i.e. new VPS)
- ## If you find these instructions to be helpful, please make a donation to
- ## http://secure.autismspeaks.org/donate
- ## This sets up Multicraft to use sqlite, this is just my personal preference
- ## since it keeps the database file in the mulitcraft install folder.
- ## mysql is also setup if there any Bukkit plugins that need mysql.
- ## Via ssh terminal, run everything as root
- su -
- ## Enter in your password for root
- apt-get update; apt-get upgrade -y
- apt-get install -y nano zip unzip git
- apt-get install -y apache2 sqlite php5 php5-curl php5-sqlite php5-gd openjdk-7-jre-headless
- apt-get install -y mysql-server
- ## When installing mysql, set a root password
- service apache2 restart
- apt-get install -y phpmyadmin
- ## select apache2 option, answer yes to any other option
- ## It will ask for your mysql root password
- a2enmod rewrite
- service apache2 restart
- nano /etc/apache2/apache2.conf
- ## Edit the following that has the <Directory /var/www/> line
- ## Under <Directory /var/www/> change
- ## AllowOverride None to AllowOveride All
- service apache2 restart
- ## Go to http://yourserver/phpmyadmin
- ## login with your MySQL “root” details
- ## click “Databases” on the top and create any needed Collation databases
- ## Go back to ssh terminal
- cd /tmp
- wget http://www.multicraft.org/download?arch=linux64 -O multicraft.tar.gz
- tar xvzf multicraft.tar.gz
- cd multicraft
- ./setup.sh
- y
- minecraft
- y
- /home/minecraft/multicraft
- ## enter license key if you have one
- 1
- y
- www-data
- #################################################################################
- ## THIS NEXT LINE IS IMPORTANT CHANGE THE DEFAULT LOCATION OF PHP FRONTEND TO: ##
- #################################################################################
- /var/www/html/multicraft
- y
- ## enter your server’s main ip address
- 21
- n
- sqlite
- y
- <Enter>
- y
- sudo service apache2 restart
- ## Go to http://yourserver/multicraft
- ## All install requirements should be green
- Start Installation
- Continue
- Continue
- Initialize database, type:SQLite, path /var/www/html/multicraft/protected/data/data.db
- Continue
- Login (username:admin, password:admin)
- Continue
- Initialize database, type:SQLite, path /home/minecraft/multicraft/data/data.db
- Continue
- Save
- ## Go back to ssh terminal and start deamon
- screen -S multicraft
- cd /home/minecraft/multicraft/bin/
- ./multicraft –nv start
- CTRL+A+D to detach from screen
- ## to reattach screen type screen -r multicraft
- ## You should see your daemon appear on "Detected Daemons"
- Resfresh
- Continue
- Continue
- ## Go back to ssh terminal
- mv /var/www/html/multicraft/install.php /var/www/html/multicraft/install._php
- ## Your panel should now be accessible via http://yourserver/multicraft
- ## Install vanilla server jar to the daemon
- ## Go to your panel>Settings>Update Minecraft
- ## For each update file select conf then download>then install
- ## For each update update file select jar then download>then install
- ## Update BukGet to new API changes
- ## cd to the from end of your multicraft directory
- cd /var/www/html/multicraft
- wget http://multicraft.org/files/bg_update_2014.02.zip
- unzip bg_update_2014.02.zip
- ## let it overwrite
- ## Go to Settings>Panel Configuration and enable Use BukGet plugin list
- ## Install Spigot
- ## Copy http://www.multicraft.org/download/conf?file=spigot.jar.conf to a public folder on Dropbox
- ## Find or build the latest spigot.jar and upload it to a public folder on your Dropbox
- ## Edit spigot.jar.conf for the following:
- ## Under "source =" change the link to the jar on your Dropbox (right click, copy public link)
- ## The link would look like https://dl.dropboxusercontent.com/u/##########/spigot.jar
- ## Under "configsource =" change the link to the conf on your Dropbox
- ## Go to Settings>Update Minecraft>Add or Remove Files
- ## There is a field under "Add Files" enter in Spigot
- ## In the conf URL field, enter the Dropbox link to spigot.jar.conf
- ## Select Add, then back
- ## Select the "Mod: Spigot" and then JAR file, download, then install
- ## Install Bungeecord JAR
- ## Go to Settings>Update Minecraft>Add or Remove Files
- ## There is a field under "Add Files" enter in BungeeCord
- ## In the conf URL field, enter in http://www.multicraft.org/download/conf/?file=bungeecord.jar.conf
- ## Select Add, then back
- ## Select the "Mod: BungeeCord" and then JAR file, download, then install
- ## Install Cauldron 1.6.4 for Attack of the B-Team
- ## In Multicraft create the server to generate the server base folder under /multicraft/servers/ (i.e. server1)
- ## Copy Attack of the B-Team server files zip from http://www.technicpack.net/modpack/attack-of-the-bteam
- ## and unzip into the server base directory (i.e. server1)
- ## Find the Cauldron Installer and copy to the server base folder (i.e. server1)
- ## Run the installer to create the library folders
- java -jar cauldronlongfilename-installer.jar --installServer
- ## Rename cauldronlongfilename.jar to BTeam.jar
- ## There should be BTeam.jar and minecraft_server.1.6.4.jar
- ## Select "Default" as the jar selection for the server
- ## Enter in BTeam.jar for jar filename
- ## Set "Look for JARs in" to "Server base directory"
- ## Change the ownership of the files to match the server ID (i.e. server1 would be mc1, server2 would be mc2, etc)
- chown -R mc1:mc1 /home/minecraft/multicraft/servers/server1
- ## Setup MySQL for plugins that such as Prism
- ## Go to http://yourserver/phpmyadmin
- ## Login with your MySQL "root" credentials
- ## Click "Databases" on the top and create a new Collation database, you can name it anything you want (i.e. bungeesuite)
- ## When you first run your server with BungeeSuite, go to the console to enter in the MySQL info needed for setup
- ## Go to Servers>Create Server to make a new server
- ## Set your name, player count, assign to admin or a user, port number, amount of memory, select jar file
- ## Click on Show Advanced Options and check Owner Managed FTP
- ## Start punching some wood
- ## Using a FTP client (i.e. Cyberduck) to upload files to a server base folder (i.e. /home/minecraft/multicraft/servers/server1)
- ## In order to make sure user/group permissions are set properly for the server ID
- ## Use the FTP credentials created by Multicraft
- ## For example, for "admin" to upload files to server1
- ## The username would be admin.1
- ## And the password would be admin's multicraft password
- ## If instead you upload as a different user using SFTP, you will have to
- ## change the user/group to match the server ID (i.e. chown -R mc1:mc1 /home/minecraft/multicraft/servers/server1)
Add Comment
Please, Sign In to add comment