How to install McMyAdmin and start it up for the first time - NOT A QUESTION - A HOWTO GUIDE

March 26, 2013 54.3k views
Sorry, it's a bit vague but I was in a rush to get the information out here as I worked this out myself because all the tutorials I have seen on how to do this have not worked. Here we go: INITIAL SETUP Ensure VPS server is started up Connect via WinSCP (Download if you don't have - Google it) and press Ctrl+P to open a PuTTY session Login as the user you got emailed/you set up Execute passwd Change your password *OPTIONAL: Add a new user by executing adduser USERNAME and set a password. Add your new user as a root user by editing the sudo config. Do this by executing the following commands: visudo Something like this will show: # User privilege specification root ALL=(ALL:ALL) ALL Add the following lime USER ALL=(ALL:ALL) ALL Press Ctrl+X Press Y to save and enter to confirm save location if needed. That's the initial server setup done! (I WILL NOT BE CREATING A NEW USER ACCOUNT AT THE MOMENT!) Make sure you are logged in as root! sudo apt-get update sudo apt-get install python-software-properties sudo apt-get install openjdk-7-jre (If this doesn't work, use sudo apt-get install openjdk-6-jre) cd /root/ wget http://mcmyadmin.com/Downloads/MCMA2_glibc25.zip apt-get install unzip unzip MCMA2_glibc25.zip mkdir McMyAdmin mv MCMA2_Linux_x86_64 McMyAdmin cd /usr/local wget http://mcmyadmin.com/Downloads/etc.zip unzip etc.zip cd /root/McMyAdmin/ Run MCMA2_Linux_x86_64 and set a password for the admin interface (WRITE IT DOWN). ./MCMA2_Linux_x86_64 -setpass YourPasswordHere *IF YOU HAVE A MCMYADMIN SERVER YOU WANT TO COPY OVER TO VPS FROM WINDOWS, DO THE BELOW STEPS ELSE DO NOT DO THEM AND JUMP TO THE CONTINUE FROM HERE SECTION* Perform the command /quit when it has all loaded up and says you must complete setup via web interface Open WinSCP Connect to the server and login as root. Click the McMyAdmin folder and delete ALL THE CONTENTS EXCEPT MCMA2_Linux_x86_64 Drag and drop your existing server folder contents over. These will replace the ones you just deleted! Install mono! sudo apt-get install mono-complete Transfer the McMyAdmin.conf file to your local machine with WinSCP Open it with WordPad and edit the RAM (Java.Memory) as needed. Copy it back to server and confirm overwrite. Then start a new PuTTY session closing the old one. *CONTINUE FROM HERE* PREPARING FOR SERVER START apt-get install screen TO START THE SERVER IN FUTURE screen -S mcmyadmin cd /root/McMyAdmin mono McMyAdmin.exe And you're done. To change server settings, navigate to your server IP in your web browser followed by :8080, not :25565. This will show a McMyAdmin Control Panel. You can now edit server settings. To access server files, use WinSCP and navigate to /root/McMyAdmin/Minecraft Thank you for looking!
13 Answers
Thank you for uploading this! =]
No problem, just trying to help. I had some problems setting this up as I put in my support ticket but after a lot of hard work, I figured it out - the other instruction guides I found didn't work... so I didn't see why everybody else had to work this out.
This was tested on a clean install of Ubuntu Server 12.10 running in Oracle VirtualBox... I know, I'm a 13 year old. I have a domain server on my laptop too :D Hope I helped/help somebody! Please post any corrections or thanks!
I think the Install Mono part should be under the Continue From Here
Install mono!
sudo apt-get install mono-complete

Correct me if I am wrong, but if you skip the copying files over, you miss that step.
can you post a tutorial on the windows xp version, because I think I did something wrong for he web server not to start
Is there a tutorial for CentOS that works?
If anyone is curious on how to instal McMyAdmin for OS X I good tutorial can be found at http://simplyjordan.net/setting-mcmyadmin-server-os/

I need help, i can't get this straight?

Are you getting any errors?

After doing the last command: mono McMyAdmin.exe

How do i quit it without shutting the server?

May I just ask why you're running it as root? That's not exactly safe if a vulnerability affected MCMA is released or something of that nature.

How do you make it keep running on your VPS?

  • From a screen session you can 'disconnect' from it meaning that you can close your SSH session without stopping the server. Do CTRL+A and then CTRL+D. I know this reply is very late but it's here for those who may stumble across this in the future.

Have another answer? Share your knowledge.