This page has not been reviewed by our documentation team (more info).

Products > Server > Server development > Server setup > Server setup on Gentoo

MusicBrainz Server setup on Gentoo

<!> This page only contains some notes on setting up a TestServer using Gentoo, that were [WWW] posted to the DevelopersMailingList by RodBegbie. It may be out of date and is not a step to step document to easily setup a server on Gentoo.
For other environments, see MusicBrainzServerSetup.

Instructions

I successfully got the MusicBrainz Server + Database running on a Linux box here running the Gentoo distribution.

A handful of important details:

1) Gentoo defaults to installing Apache 2. I had to add the following to my /etc/portage/package.mask to stop it from doing that:

>=net-www/apache-2.0 
>=www-apache/mod_perl-1.99
>=dev-perl/DBD-Pg-1.40 

However, TarragonAllen notes: There is a "USE" flag which also achieves this called, aptly, "apache1". Also, a handy tool which I highly recommend for setting USE flags is "ufed".

2) g-cpan (which builds Gentoo ebuild files for CPAN modules) is a godsend. Type "g-cpan -i Net::Amazon" will cause it to download and install all necessary modules, and store the appropriate metadata so you can use emerge to remove/upgrade it.

3) UUID doesn't exist in the main CPAN metadata. I had to download it directly from [WWW] http://search.cpan.org/CPAN/authors/id/B/BR/BRAAM/UUID-0.02.tar.gz and build it by hand.

 
Creative Commons EFF GPL LGPL This material is Open Knowledge Valid XHTML 1.1 Valid CSS 2.0
Original Design|vacubomb.com Contact details Server version: RELEASE-20071014