Wednesday, January 9, 2013

MineOS Turnkey on ProxMox VM server

MineOS on ProxMox VM server

Using MineOS Turnkey!
Will, the developer of MineOS and MineOS Crux is at it again with the upcoming release of MineOS Turnkey.  The great news here is stable, kept up to date OS core behind Will's great Minecraft front end.   https://groups.google.com/forum/?hl=en#!topic/mineos/zGloo4J0vnc

I had been using MineOS Crux, MineOS+, and MineOS at times before, but on reinstalling a server found the 64 bit versions buggy at best and not working at worst.  Plus the install procedures were difficult.

On the VM architecture I had previously used Ubuntu based KVM, Oracle VirtualBox and VMWare Vsphere.  This is my first OS install on ProxMox VM server, so thought I would take time and document both ProxMox utilization as well as my MineOS install and preferred settings.

Resources:
  1. My ProxMox Setup Blog: http://techtips-tom.blogspot.com/2012/12/proxmox-21-my-first-trial.html
  2. Pull the latest Mineos_turnkey.iso from Will's MineOS download page: http://minecraft.codeemo.com/crux/ 
  3. see other links below

PROXMOX

Upload ISO OS image
  • Pull the latest Mineos_turnkey.iso from Will's MineOS download page: http://minecraft.codeemo.com/crux/ 
  • Select a storage device by clicking on it (e.g. "local") in the left column
  • Choose the "content" tab in in the main (right) window
  • Click on the "Upload" link on the top of the main content window
  • Select the MineOS Crux iso from the local hard drive

Setup VM Characteristics
  • In the ProxMox Web Interface, select the Desired Server, then in upper right hand corner click on the "Create VM" button.
  • VM settings
    • General: 
      • select the server node and leave the default VMID of 100
      • Name it "MineOSCruxTurnkey"
      • leave the Resource Pool Blank as I have none defined yet
    • OS: Select LInux 3.x/2.6 Kernel
    • CD/DVD: Use image file, and select the iso image I had uploaded
    • Hard Disk:  IDE 8 to 16 GB raw disk image
    • CPU: 1 socket, 2 core, qemu64 type
    • Memory: 3072 MB
    • Network: Bridged Mode with all defaults
    • Confirm and finish
Install MineOS Turnkey
  • Pull the latest Mineos_turnkey.iso from Will's MineOS download page: http://minecraft.codeemo.com/crux/ 
  • Follow the install screen, self explanitory
  • I had problems with MineOS web GUI username not being accepted, but understand this is not a normal problem... If by chance you get the same error see my problem and resolution here
MineOS Additions
  • Added Bukketbeta by "create new profile" button on Overview screen.  This added entries to the mineos.config file as follows 
    • [downloads] 
      • bukkitbeta_jar=http://dl.bukkit.org/latest-beta/craftbukkit-beta.jar
    • [bukkitbeta]
      • ignore =
      • jar_file = craftbukkit-beta.jar
      • jar_args =

Webmin Tweaks
  • Change timezone, so my cronjobs work when expected
    • http://www.turnkeylinux.org/blog/configuring-timezone
    • Log into webmin https://[serverip]:12321
    • Navigate to system/software packages
    • select Package from APT, type in webmin-time and click install
    • Navigate to system/system time, click on change timezone, select your and apply


(Update: this section no longer needed as Turnkey MineOS now is complete)
Install Missing things Using Will's Ubuntu Guide

PLUGIN MODS



OTHER INFO
Minecraft Server Problems
  • I had significant problems with the 64 bit versions of MineOS Crux and MineOS +, so abandoned trying to get them to work for now.

Java Problems:
I updated java on my local computer to get proxmox server functionality working, but now am having problems with Minecraft and other java programs on my computer.

  • Right click the new VM located under the server in the left pane, then select start
  • Next select Console... and find out we have a java problem
  • follow this advice: http://community.linuxmint.com/tutorial/view/1091
  • Now java works after I tell it to trust the content... and I can start the install


MineOS Crux can be found here: http://minecraft.codeemo.com/
ProxMox can be found here: http://www.proxmox.com/
ProxMox Installation tips here: http://pve.proxmox.com/wiki/Installation
ProxMox HOW TOs: http://pve.proxmox.com/wiki/Category:HOWTO