Have somebody tried installing the McMyAdmin on a OpenMediaVault server? If so can you walk me true it or link to a guide?
Minecraft McMyAdmin on OpenMediaVault
-
-
Look for a guide setting it up on Debian Squeeze.
-
Just click on 36bit/64bit and follow the commands on the right side. I tested it a few minutes ago. Works like a charm!
-
I'm getting a -bash: unzip: command does not exist
when running the unzip etc.zip; rm etc.zipalso is it the GNU/Linux or the BSD and Other Platforms?
-
Linux
apt-get install unzip
-
Tanks but now i'm having another problem
I have created a new user with the UI named Minecraft and added it to the grops users, ssh but when i try to log in with putty i get a "Could not chdir to home directory /home/Minecraft: No such file or directory" error i can log in with the root user no problem -
-
Ok fixed most off it but it want me to update my java from 1.6.0 to 1.7.0 or newer but the apt-get install openjdk-7-jre gives me "Could not find the package openjdk-7-jre
-
You need to manually install it.
http://www.sysadminslife.com/l…n-unter-debian-6-squeeze/
Greetings
David -
Ok server upp and running tanks a bunch
--EDIT--
One more thing how do i make it autorun the "cd ~/McMyAdmin; ./MCMA2_Linux_x86_64" command on a boot or reboot? -
As mcmyadmin does not have a daemon, you have to start this up via screen. (you need to have screen installed obviously..)
Then edit your startup:
add the following line below "# m h dom mon dow command"
-
I cant seeam to get screens to work. its installed but i'm uncertain how to write the screen command and what to look for and if i sould run it as root or my Minecraft user.
i found this line to use
Codeecho "screen -dmS Yourdesiredscreenname java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui" > start.sh
and i midified it like thisCodeecho "screen -dmS Minecraftserv cd ~/McMyAdmin; ./MCMA2_Linux_x86_64" > cd ~/McMyAdmin; ./MCMA2_Linux_x86_64
also tried theese variations -
you defenitely need the full path of McMyadmin.
What your script does, it makes a new file called "start.sh" and adds the line before. It does not start anything.You have to make it runable via
and then run it via
IF it does its job right, it opens a screen and starts the minecraft server.jar. but ONLY if the start.sh is located in the same directory as your minecraft_server.jar
And this is also not autostart-able... Have you tried my idea? does it not work? what is the output?
-
@reboot cd /home/minecraft/McMyAdmin && screen -dmS McMyAdmin ./MCMA2_Linux_x86_64 did nothing and as i cant be connected with putty when i restart the computer i cant see eny output att all (if i cant run the command as is dident try that)
--edit--
tried using the command as is and i get a -bash:@reboot: the command dose not exist -
Gimme a minute. I make you a daemon script...
Greetings
David -
Bash
Alles anzeigen#!/bin/bash ### BEGIN INIT INFO # Provides: McMyAdmin # Required-Start: # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start daemon at boot time # Description: Enable service provided by daemon. ### END INIT INFO logfile="/var/log/McMyAdmin_start.log" case "$1" in start) echo "Starting McMyAdmin" su - minecraftuser >>$logfile cd /home/minecraft/McMyAdmin >>$logfile screen -dmS McMyAdmin ./MCMA2_Linux_x86_64 >>$logfile echo "Done" ;; stop) echo "Stopping McMyAdmin" echo "Can be added later..." ;; *) echo "Usage: /etc/init.d/McMyAdmin {start|stop}" exit 1 ;; esac exit 0
Check if the script works.
If it does, copy it to /etc/init.d/ and install it to your "autostart" via
Greetings
David -
I have no ide what a daemon script is or how to use it. tried making a file named start.sh and put the code in it. then i put it in the McMyAdmin folder and tried to run the
./McMyAdmin start
and got a
-dash: ./McMyAdmin: Permission denied (used it as the Minecraft user) -
You need to make it executable, of course, so chmod +x.
Edit: If it works, then check if it runs (mcmyadmin). If it does not run check /var/log/McMyAdmin.log
Greetings
David -
-
My bad. Run it as root, please. (script does su - minecraftuser <--------- YOU NEED TO CHANGE THAT IN THE SCRIPT TO THE CORRECT USER!)
Greetings
David
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!