doingsomething

Multicraft install instructions for Ubuntu 13.04 64 bit

Mar 2nd, 2014
3,049
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.90 KB | None | 0 0
  1. ## Multicraft installation instructions for a dedicated Ubuntu 13.04, 13.10 64 bit server
  2. ## If you find these instructions to be helpful, please make a donation to
  3. ## http://secure.autismspeaks.org/donate
  4. ## Via ssh terminal, this sets up Multicraft to use sqlite, this is just my personal preference
  5. ## since it keeps the database file in the mulitcraft install folder.
  6. ## mysql is also setup if there any Bukkit plugins that need mysql.
  7.  
  8. ## Run everything as root (sudo) or run sudo bash
  9. apt-get update
  10. apt-get upgrade
  11. ## type y to continue
  12.  
  13. apt-get install openjdk-7-jre
  14. apt-get install nano zip unzip
  15. apt-get install apache2 php5 mysql-server
  16. ## When installing mysql, set a root password
  17.  
  18. apt-get install php5-curl php5-sqlite
  19. service apache2 restart
  20. apt-get install phpmyadmin
  21. ## select apache2 option, answer yes to any other option
  22. ## It will ask for your mysql root password
  23.  
  24. a2enmod rewrite
  25. service apache2 restart
  26.  
  27. ## Edit one of the following that has the <Directory /var/www/> line
  28. ## Under <Directory /var/www/> change
  29. ## AllowOverride None to AllowOveride All
  30. nano /etc/apache2/apache2.conf
  31. nano /etc/apache2/sites-enabled/000-default
  32.  
  33. service apache2 restart
  34.  
  35. ## Go to http://yourserver/phpmyadmin
  36. ## login with your MySQL “root” details
  37. ## click “Databases” on the top and create any needed Collation databases
  38.  
  39. ## Go back to ssh terminal
  40. cd /tmp
  41. wget http://www.multicraft.org/download?arch=linux64 -O multicraft.tar.gz
  42. tar xvzf multicraft.tar.gz
  43. cd multicraft
  44. ./setup.sh
  45.  
  46. y
  47. minecraft
  48. y
  49. /home/minecraft/multicraft
  50. ## enter license key if you have one
  51. 1
  52. y
  53. www-data
  54. /var/www/multicraft
  55. y
  56. ## your server’s main ip address
  57. 21
  58. n
  59. sqlite
  60. y
  61. <Enter>
  62. y
  63.  
  64. sudo service apache2 restart
  65.  
  66. ## Go to http://yourserver/multicraft
  67. ## All install requirements should be green
  68. Start Installation
  69. Continue
  70. Continue
  71. Initialize database, type:SQLite, path /var/www/multicraft/protected/data/data.db
  72. Continue
  73. Login (username:admin, password:admin)
  74. Continue
  75. Initialize database, type:SQLite, path /home/minecraft/multicraft/data/data.db
  76. Continue
  77. Save
  78.  
  79. ## Go back to ssh terminal and start deamon
  80. screen -S multicraft
  81. cd /home/minecraft/multicraft/bin/
  82. ./multicraft –nv start
  83. CTRL+A+D to detach from screen
  84. ## to reattach screen type screen -r multicraft
  85.  
  86. ## You should see your daemon appear on "Detected Daemons"
  87. Resfresh
  88. Continue
  89. Continue
  90.  
  91. ## Go back to ssh terminal
  92. mv /var/www/multicraft/install.php /var/www/multicraft/install._php
  93.  
  94. ## Your panel should now be accessible via http://yourserver/multicraft
  95. ## Now copy the server jars to the daemon
  96. ## Go to your panel>Settings>Update Minecraft
  97. ## For each update file select conf then download>then install
  98. ## For each update update file select jar then download>then install
  99.  
  100. ## Update BukGet to new API changes
  101. ## cd to the from end of your multicraft directory
  102. cd /var/www/multicraft
  103. ## or
  104. cd /var/www/html/multicraft
  105. wget http://multicraft.org/files/bg_update_2014.02.zip
  106. unzip bg_update_2014.02.zip
  107. ## let it overwrite
  108.  
  109. ## Go to Settings>Panel Configuration and enable Use BukGet plugin list
  110.  
  111. ## Go to Servers>Create Server to make a new server
  112. ## Set your name, player count, assign to admin, port number, amount of memory, select jar file
  113. ## Click on Show Advanced Options and check Owner Managed FTP
  114. ## Start punching some wood
  115.  
  116. ## Install Bungeecord JAR
  117. ## Go to Settings>Update Minecraft>Add or Remove Files
  118. ## There is a field under "Add Files" enter in BungeeCord
  119. ## In the conf URL field, enter in http://www.multicraft.org/download/conf/?file=bungeecord.jar.conf
  120. ## Select Add, then back
  121. ## Select the "Mod: BungeeCord" and then JAR file, download, then install
  122.  
  123. ## Install Spigot JAR
  124. ## Go to Settings>Update Minecraft>Add or Remove Files
  125. ## There is a field under "Add Files" enter in Spigot
  126. ## In the conf URL field, enter in http://www.multicraft.org/download/conf/?file=spigot.jar.conf
  127. ## Select Add, then back
  128. ## Select the "Mod: Spigot" and then JAR file, download, then install
  129.  
  130. ## Install Cauldron 1.6.4 for Attack of the B-Team
  131. ## Install Cauldron to the specific server base folder, i.e. server1
  132. ## Copy Attack of the B-Team server files to server directory
  133. ## Download Cauldron Installer from http://files.minecraftforge.net/Cauldron/
  134. ## Run the installer to create the library folders
  135. java -jar cauldronlongfilename-installer.jar --installServer
  136. ## Rename cauldronlongfilename.jar to BTeam.jar
  137. ## There should be BTeam.jar and minecraft_server.1.6.4.jar
  138. ## Select "Default" as the jar selection for the server
  139. ## Enter in BTeam.jar for jar filename
  140. ## Set "Look for JARs in" to "Server base directory"
  141.  
  142. ## Setup MySQL for plugins such as BungeeSuite
  143. ## Go to http://yourserver/phpmyadmin
  144. ## Login with your MySQL "root" credentials
  145. ## Click "Databases" on the top and create a new Collation database, you can name it anything you want (i.e. bungeesuite)
  146. ## When you first run your server with BungeeSuite, go to the console to enter in the MySQL info needed for setup
  147.  
  148. ## Alternate database setup for MySQL for Multicraft (instead of sqlite)
  149. ## Go to http://yourserver/phpmyadmin
  150. ## Login with your MySQL "root" credentials
  151. ## Click "Databases" on the top and create two new Collation database, multicraft_panel and multicraft_daemon
  152. ## Rerun the installation for the daemon by running ./setup.sh
  153. ## When you get to the database option, select mysql
  154. ## 127.0.0.1
  155. ## multicraft_daemon
  156. ## root
  157. ## mysql password for "root" above
  158. ## Rerun the installation for the panel
  159. mv /var/www/multicraft/install._php back to /var/www/multicraft/install.php
  160. ## Go to http://yourserver/multicraft/install.php
  161. ## When you get to the MySQL connection details for the panel:
  162. ## Database type: MySQL
  163. ## Host: 127.0.0.1
  164. ## name: multicraft_panel
  165. ## username: root
  166. ## password: your "root" password for MySQL
  167. ## When you get to the MySQL connection details for the daemon:
  168. ## Database type: MySQL
  169. ## Host: 127.0.0.1
  170. ## name: multicraft_daemon
  171. ## username: root
  172. ## password: your "root" password for MySQL
  173. ## Continue with the setup as described above
  174.  
  175. ## Install pocketmine 1.3.12 (http://www.pocketmine.net)
  176. ## cd to the jar directory under your daemon
  177. wget http://www.multicraft.org/download/conf?file=pocketmine.jar.conf
  178. sudo nano pocketmine.jar.conf
  179. ## Make sure the start path is:
  180. [start]
  181. command = "{JAR_DIR}/pocketmine/bin/php5/bin/php" "{JAR_DIR}/pocketmine/PocketMine-MP.php" --memory-limit "{MAX_MEMORY}M" --data-path "{SERVER_DIR}"
  182. ## Download and install pocket mine to jar/pocketmine
  183. ## Install all the dependencies needed and download/install pocketmine
  184. sudo apt-get install perl gcc make automake libtool autoconf m4 gcc-multilib
  185. wget -q -O - http://get.pocketmine.net/ | bash -s - -v Alpha_1.3.12
  186. ## Verify pocketmine installed correctly by starting it
  187. ./start.sh
  188. ## Exit out of pocketmine by typing exit, quit or stop
  189. ## Create a new server and select the Pocketmine JAR from the drop down
Add Comment
Please, Sign In to add comment