NGS Server Setup: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
m (Redirecting to MusicBrainz Server/Setup)
 
(30 intermediate revisions by 10 users not shown)
Line 1: Line 1:
#REDIRECT [[MusicBrainz Server/Setup]]
__NOTOC__
<small>[[Products]] > [[MusicBrainz Server]] > NGS Server Setup</small>

== Next Generation MusicBrainz Server ==

To set up a Next Generation Schema (NGS) MusicBrainz server, you can choose to download and setup a virtual machine image of NGS or you can install the server into your own Linux instance.

== MusicBrainz NGS Virtual Server Image ==

Running an NGS virtual machine requires some Linux knowledge, but it vastly simpler than installing NGS from scratch. To use the virtual machine instance, follow these steps:

# Start downloading the latest [ftp://ftp.musicbrainz.org/pub/musicbrainz/ngs/MusicBrainz_NGS_vm_20110119.ova.7z virtual machine instance]. Beware: This is a large (3.8Gb) download!
# Download and install [http://virtualbox.org Virtual Box] on your machine.
# 7Unzip the virtual machine instance. If you don't have a 7unzip program, [http://www.7-zip.org/ download one].
# Start Virtual Box and choose ''Import Appliance'' from the File menu. Select the newly unzipped file that ends in the .ova extension.
# Once Virtual Box has imported the appliance, select the imported virtual machine from the list of virtual machines and click on Start.
# Once the instance has started up, log in on the console using the username ''musicbrainz'' and password ''musicbrainz''. This account has sudo privileges -- if you would like to set a root passwd, you can do that via sudo.
# Run ''ifconfig'' and look at the ''inet addr'' for eth0. This is the IP address of your virtual machine. Note this IP address.
# Optional: The console for Virtual Box is very slow. I find it faster to SSH into the virtual box with a good terminal program.
# To start the NGS server, enter these commands:

musicbrainz@clear:~$ cd musicbrainz-server/script
musicbrainz@clear:~/musicbrainz-server/script$ ./musicbrainz_server.pl -r

Now you can reach the MusicBrainz server by pointing your browser to port 3000 of the IP address in step 7. If your IP address from step 7 was: 10.1.1.104, then point your browser to http://10.1.1.104:3000

== Troubleshooting ==

If the server does not start up, please follow these steps:

$ sudo su -
(the password is “musicbrainz”)
# cpan
cpan> install CGI::Expand
cpan> quit
# exit

== Settting up MusicBrainz NGS from source code ==

(to be completed)


[[Category:Products]] [[Category:Server]]

Latest revision as of 01:36, 11 November 2011