DaveEvans/UbuntuSetup

Describe DaveEvans/UbuntuSetup here.

Installation on a modern Ubuntu server

Notes after trying out LukasLalinsky/UbuntuServerSetup on a "gutsy" server.

So we'll need an mb_server patch for mod_perl 2.

TODO:

mod_perl 2

Moving to mod_perl 2 (i.e. changing the mb_server codebase so Apache2 is expected, not Apache(1)).

Running, but I need to test this to see if I got it right.

Split Apache configs

See [WWW] http://bugs.musicbrainz.org/ticket/721

I'd like to change vh_httpd.conf so there's one apache config fragment for the front end (static content, mod_proxy, mod_rewrite) and another for the back end (mod_perl only). Currently the live apache-perl / apache2 config is VERY different from the SVN "vh_httpd.conf". We should be able to arrange things so that you only ever have to make minor adjustments to the SVN config (whether on dev, live, or elsewhere).

Related ideas:

If we provided three separate apache config fragments (say), it should be easy to flip between the following configurations:

Multiple MPMs

It would be nice if the front end could run the "worker" mpm, and the back end(s) run the "prefork" mpm. However the Ubuntu packages are marked as conflicting with each other (apache2-mpm-prefork, apache2-mpm-worker). Both packages provide /usr/sbin/apache2.

You can use dpkg-divert and "dpkg --install --force-conflicts" to install both mpms (and divert one one of the "/usr/sbin/apache2"s elsewhere, e.g. "/usr/sbin/apache2.prefork". Not sure how "apt-get" then handles the fact that you've got two conflicting packages installed, though.

Failing that, other possibilities include:

last edited 2008-03-05 19:27:44 by DaveEvans

MusicBrainz web site  *  Support / Contact