Skip to content
Nosce Te Ipsum
  • Home
  • About me
  • My COETAIL Blogs
    • Course 1
    • Course 2
    • Course 3
    • Course 4
  • Testimonials
    • Professional
    • Personal
Site Search

Installing and Running MinecraftEdu on Linux

  • May 8, 2012May 10, 2012
  • by Muhammad
Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin
Pin on Pinterest
Pinterest
Share on Reddit
Reddit
Email this to someone
email
Share on StumbleUpon
StumbleUpon
Digg this
Digg

Get your MinecraftEdu Classroom version purchased from http://minecraftedu.com/purchase.php

Once you have received the account details log into secure file area of MinecraftEdu server and download the files. I downloaded both the automatic (.jar) and manual (.zip) installation files. FTP or SCP them over to your Linux server.

Now run the installation from the automatic file with the following command:


jar -jr MinecraftEdu_classroom_linux_0.98.jar

the jar filename might be different for you depending on which version you are getting.

You will be taken through steps for installation, choose 1 to accept/select and 0 to reject/deselect options as they come. I recommend not to get the Desktop icons. Once selection finished the folders and files will be unpacked in your home folder hence if you are root go to your home folder by cd ~

now you can either run the server with default server properties manually by following the commands below:

First you need to change directory to where the minecraftedu server jar file is


cd ~/MinecraftEdu/ServerTool/MinecraftServer

this is the key point in these instructions. Normally MinecraftEdu is set to run in Windows, Mac or Linux servers but using the graphical environments in these operating systems. All instructions available online in the official Wiki assumes that your are running a GUI. I searched the net a while to find this command line by a generous soul who had gone through same trouble i.e. trying to run MinecraftEdu on Linux server with no GUI and the answere was found here:
http://groups.google.com/group/minecraft-teachers/browse_thread/thread/b4bfa0df40b6e311#

The link is provided to credit the people who did this first and helped us all to get this working.

If you are running this on the server terminal you can have it running without the “screen” command but if running it remotely using a screen command will let you kill your remote terminal session and restore your interface to this screen if you reconnect through terminal session by simply using the “screen -r” command.


screen java -Djava.ext.dirs=../lib -Xmx1024M -Xms1024M -jar minecraftedu_server.jar

You can now create a bash script file in /etc/init.d/ with following code:


#!/bin/bash
echo "Starting Minecraft server..."
cd /root/MinecraftEdu/ServerTool/MinecraftServer
screen java -Djava.ext.dirs=../lib -Xmx1024M -Xms1024M -jar minecraftedu_server.jar nogui

and in Debian use the following code

update-rc.d minecraft defaults

in the /etc/init.d/ directory to add minecraft to startup in default runlevels.

Important
If you installed and run server by command line there will be no teacher password set. In order to set teacher password which is encrypted install Minecraft on your computer with server tools. First time you run the server tool you will be asked to create teacher password. Create the one you wish and then copy the settings from /path to MinecraftEdu/ServerTools/MinecraftEduSettings/ and copy the content of ServerWizardSettings (only password lines if you wish) to the same file at same path on your server.

That is it. Happy Minecrafting 🙂 and read the official Wikis if you need to change server properties 😉

Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin
Pin on Pinterest
Pinterest
Share on Reddit
Reddit
Email this to someone
email
Share on StumbleUpon
StumbleUpon
Digg this
Digg
batch delete emails from zimbra mailboxes
China Unicom – changing password
Muhammad
minecraft minecraftedu

Related articles

Dynamic DNS client setup for…
Install Nginx, MySQL and PHP…
Attaching an external storage with…
Setting up L2TP/IPSEC server using…
(c) Raspberry Pi
Starting with Raspberry Pi
Using GeoIP database to identify…
…after a long absence
ISOLINUX: No DEFAULT or UI…
clean mail queue with Perl…
Preventing Backscatter from relay SMTP…

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Follow Me!

Follow Me On TwitterFollow Me On LinkedInFollow Me On PinterestFollow Me On About.meFollow Me On Wordpress
May 2025
M T W T F S S
« Oct    
 1234
567891011
12131415161718
19202122232425
262728293031  

2009 2010 2011 Amelie apache beijing birthday clearos crèpes debian december 2009 dubai email february firewall guide holidays ill install internet kuala lumpur linux list mac maheen mobile october 2009 outlook Pakistan raspberry raspberry pi router search Sharepoint smtp snow spring ubuntu unix VLAN VPN windows 7 winter xian Zimbra

WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.

Categories

Licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Theme by Colorlib Powered by WordPress
  • Home
  • About me
  • My COETAIL Blogs
  • Testimonials