User:Murdos/colinuxmbserver

From MusicBrainz Wiki
< User:Murdos
Revision as of 06:43, 23 August 2007 by Murdos (talk | contribs) ((Imported from MoinMoin))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Products > Server > Server development > Server setup > CoLinux MusicBrainz Server

What Is the CoLinux Virtual MusicBrainz Server?

The CoLinux Virtual MusicBrainz Server is variant of VirtualMusicBrainzServer using Cooperative Linux instead of VMWare to run the virtual machine image provided by MusicBrainz. This image contains a Linux environment fully configured with the latest release of the Server source code. If you want to experiment with the data, or try hacking on some new features, it is intended to be the fastest way to get up and running.

What's in the Image?

See VirtualMusicBrainzServer: we're using the same image.

Preparation

You first need (really?) to convert the virtual machine image for VMWare to a format adapted for coLinux.

Download the image using the link in VirtualMusicBrainzServer & extract the files

Convert the virtual disk split in 2Gb files to a single virtual disk

  1. Be sure to have VMWare Server installed: you'll need the vmware-vdiskmanager tool which comes with it
  2. Assuming vmware-vdiskmanager is in your %PATH%, launch:
vmware-vdiskmanager -r MBServer-Root-000001-cl1.vmdk -t 0 MBServer-Root-000001-cl1-flattened.vmdk

Convert the new single virtual disk in VMWare format to QEmu raw format

  1. You need the QEmu qemu-img tool
  2. Assuming qemu-img is in your %PATH%, launch:
qemu-img convert MBServer-Root-000001-cl1-flattened.vmdk MBServer-Root.img

Convert the QEmu raw virtual disk in coLinux raw format

more info

  1. You need a win32 port of dd provided by unxutils
  2. Assuming dd is in your %PATH%, launch:
dd if=MBServer-Root.img of=MBServer-Root bs=512 skip=63

Running the CoLinux Virtual MusicBrainz Server