Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: Agent86 on January 22, 2013, 11:38:33 PM

Title: minecraft on sme and java
Post by: Agent86 on January 22, 2013, 11:38:33 PM
Hi

I'm not sure if I should try to install java on SME or perhaps in an ibay or something
I would like to install the minecraft server
Title: Re: minecraft on sme and java
Post by: versa on January 23, 2013, 03:35:33 PM
Hi Agent86
I tried this a while ago, I put it on a machine running vmplayer with sme 8, from what I can recall I just followed an example from the server site up guide on the minecraft site, however it was dog slow, you will need a good cpu and plenty of ram.
I did not go any further with it though.

versa
Title: Re: minecraft on sme and java
Post by: Agent86 on January 23, 2013, 08:45:10 PM
Hi Agent86
I tried this a while ago, I put it on a machine running vmplayer with sme 8, from what I can recall I just followed an example from the server site up guide on the minecraft site, however it was dog slow, you will need a good cpu and plenty of ram.
I did not go any further with it though.

versa

cool thanks.
Did you install java just using the RPM or something or did you add a yum repo or something ? 
I put minecraft on a ubuntu desktop but didn't really need another box running so figured I could just ad this to the sme server somehow

As long as I can properly install java I don't know if this will create security issues or not with my sme box though
Also I wonder how much bandwidth this minecraft might chew up cause I like to play online games and don't want to create issues with that either
Thanks for the update
Title: Re: minecraft on sme and java
Post by: Agent86 on January 29, 2013, 10:03:39 PM
I got an answer on this other post and in the minecraft irc channel thanks

http://forums.contribs.org/index.php/topic,49501.msg247395.html#msg247395
Title: Re: minecraft on sme and java
Post by: Stefano on January 29, 2013, 10:25:55 PM
copy jar file into the html dir into an ibay

then download this (https://github.com/superjamie/minecraft-init-script/blob/master/minecraft) file into /etc/rc.d/init.d, edit it and modify where necessary, then create a link into /etc/rc7.d with

Code: [Select]
cd /etc/rc7.d
ln -s /etc/rc.d/init.d/minecraft S99minecraft

alternatively, you can create a symbolic link to e-smith-service then

Code: [Select]
config set minecraft service status enabled

HTH

P.S. google -> "minecraft centos 5" will help you