This is cataloging how I build my own MusicBrainz Server. Dated: March 2013. This makes the assumption you know how to manage virtual machines, and use linux.
- Download the .ova virtual appliance import file from http://musicbrainz.org/doc/MusicBrainz_Server/Setup
- Prior to booting, Change the VM Name and add an extra temp drive (You'll need it for downloading the latest DB)
- Once booted, partition, format and mount the temp drive somewhere (I suggest /tmp/dumps to work with future commands)
- Log into the appliance and download the latest databases from http://ftp.musicbrainz.org/pub/musicbrainz/data/fullexport/ onto the temp drive
- Note: You will need over 20G of temp space to decompress all the DBs, I suggest you only start with mbdump.tar.bz2, mbdump-editor.tar.bz2 and mbdump-derived.tar.bz2
- Following the "Import Database" from https://github.com/metabrainz/musicbrainz-server/blob/master/INSTALL.md
- Create a working temp directory under your dumps directory: mkdir /tmp/dumps/tmp
- cd ~/musicbrainz-server
- You will need to drop the existing Database: dropdb -U postgres musicbrainz_db
- Finally import the new DB: carton exec ./admin/InitDb.pl -- --createdb --import /tmp/dumps/mbdump*.tar.bz2 --echo --tmp-dir=/tmp/dumps/tmp
- Run the replication script to bring you up to "now" ~/run_replication.sh
- Test the server by connecting to the DB - Possible test using Picard
- Enable full repllication following these steps: http://musicbrainz.org/doc/MusicBrainz_Server/Setup#Running_Replication