Difference between revisions of "McMyAdmin"

From Amahi Wiki
Jump to: navigation, search
Line 1: Line 1:
 
Minecraft server with web-based front end for server management.
 
Minecraft server with web-based front end for server management.
  
<pre>#!/bin/bash
+
* Install dependancies
 +
{{Code|yum install mono-devel
 +
yum install java}}
  
# Install dependancies
+
* Get and install McMyAdmin
 
+
{{Code|mkdir /var/hda/web-apps/mcmyadmin
yum install mono-devel
 
yum install java
 
 
 
# Get and install McMyAdmin
 
 
 
mkdir /var/hda/web-apps/mcmyadmin
 
 
wget -P /var/hda/web-apps/mcmyadmin http://www.phonicuk.com/Downloads/McMyAdmin-latest.zip
 
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/
 
unzip /var/hda/web-apps/mcmyadmin/McMyadmin-Latest.zip -d /var/hda/web-apps/mcmyadmin/
chmod +x /var/hda/web-apps/mcmyadmin/start.sh
+
chmod +x /var/hda/web-apps/mcmyadmin/start.sh}}
  
# Start McMyAdmin and Minecraft server
+
* Start McMyAdmin and Minecraft server
nohup /var/hda/web-apps/mcmyadmin/start.sh &</pre>
+
{{Code|nohup /var/hda/web-apps/mcmyadmin/start.sh &</pre>}}
  
 
The web interface runs on port 8080 by default account admin/admin. By default the web interface can only be accessed from the machine it is running on. To make it available from another machine the entry passwordmd5 in McMyAdmin.conf.default must be changed.
 
The web interface runs on port 8080 by default account admin/admin. By default the web interface can only be accessed from the machine it is running on. To make it available from another machine the entry passwordmd5 in McMyAdmin.conf.default must be changed.

Revision as of 01:36, 12 February 2011

Minecraft server with web-based front end for server management.

  • Install dependancies
bash code
​yum install mono-devel yum install java​


  • Get and install McMyAdmin
bash 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/ chmod +x /var/hda/web-apps/mcmyadmin/start.sh​


  • Start McMyAdmin and Minecraft server
bash code
​nohup /var/hda/web-apps/mcmyadmin/start.sh &</pre>​


The web interface runs on port 8080 by default account admin/admin. By default the web interface can only be accessed from the machine it is running on. To make it available from another machine the entry passwordmd5 in McMyAdmin.conf.default must be changed.

The Minecraft server runs on port 25565 by default. After users have properly forwarded ports to the Amahi server Minecraft players will be able to use the HDA URL to connect to the server.

Cronjob will need to be set for autostart on boot. Amahi may also be able to monitor this server to make sure it is running, similar to other services.