Changes

From Amahi Wiki
Jump to: navigation, search
4 bytes removed ,  02:02, 16 July 2012
no edit summary
Note: Below instructions are for Fedora. Ubuntu users replace all "yum"s with "apt-get"s. So:
{{Code|yum install mono-basic}}
becomes
{{Code|apt-get install mono-basic.}}
=Installing McMyAdmin=
* Install dependencies
{{Code|yum install mono-basic yum install java-1.6.0-openjdk java-1.6.0-openjdk-plugin-1}}
* Get and install McMyAdmin
{{Code|mkdir /var/hda/web-apps/mcmyadmin wget -P /var/hda/web-apps/mcmyadmin http://www.phonicuk.com/Downloads/McMyAdmin-latest.zip unzip /var/hda/web-apps/mcmyadmin/McMyAdmin-latest.zip -d /var/hda/web-apps/mcmyadmin/ chown -R apache:users /var/hda/web-apps/mcmyadmin chmod +x /var/hda/web-apps/mcmyadmin/start.sh}}
* Start McMyAdmin and Minecraft server
{{Code|cd /var/hda/web-apps/mcmyadmin./start.sh}}
and wait for it to download the latest Minecraft server. Once done stop it with '''<Ctrl-C>''' and run the following.
{{Code|nohup ./start.sh &}}
The web interface runs on port 8080 by default account admin/admin:
{{Link|http://localhost:8080}}
[http://www.technicpack.net/tekkit/ Tekkit] is a collection of Minecraft mods that allows for more advanced gameplay. The purpose of this tutorial is to illustrate the installation of Tekkit on your HDA. All commands below are for the terminal. The instructions are taken from [http://www.youtube.com/watch?v=u8-uGqSyaMo this] fine YouTube video.
*Navigate to the default hda web-apps folder
{{Code|cd /var/hda/web-apps/mcmyadmin}}
*Create a folder for Tekkit and get in the folder:
{{Code|mkdir tekkit cd tekkit}}
*Download the latest Tekkit server zip file from [http://www.technicpack.net/tekkit/ here]. Replace my link below with your own latest one.
{{Code|wget http://mirror.technicpack.net/files/Tekkit_Server_3.0.4.zip}}
*Extract the zip file with unzip. Replace name of file with your own latest one.
{{Code|yum install unzip ls unzip Tekkit_Server_3.0.4.zip}}
*Create startup script for Tekkit. Note that 1500M stands for the number of megabytes of ram you are letting Tekkit use potentially. The 512M stands for the number of megabytes of ram you let Java use at startup.
{{Code|nano start.sh}} {{Text|Text=#!/bin/sh sh -Xmx 1500M -Xms512M -jar Tekkit.jar}}
*Give permissions to the script.
{{Code|chmod +x start.sh}}
*Start Tekkit
{{Code|./start.sh}}
[[Category:Apps]]
12,424

edits