Created
January 7, 2012 11:18
-
-
Save lalinsky/1574473 to your computer and use it in GitHub Desktop.
MusicBrainz Server Setup on Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install cpanminus liblocal-lib-perl libossp-uuid-perl | |
sudo apt-get install libxml2-dev libpq-dev libexpat1-dev | |
echo 'eval `perl -Mlocal::lib`' >>~/.bashrc | |
eval `perl -Mlocal::lib` | |
perl Makefile.PL | |
cpanm -n . | |
sudo apt-get install postgresql-server-dev-8.4 gcc-4.4 libicu-dev postgresql-contrib-8.4 | |
cd postgresql-musicbrainz-collate/ | |
make PG_CONFIG=/usr/lib/postgresql/8.4/bin/pg_config | |
sudo make PG_CONFIG=/usr/lib/postgresql/8.4/bin/pg_config install | |
cd ../postgresql-musicbrainz-unaccent/ | |
make PG_CONFIG=/usr/lib/postgresql/8.4/bin/pg_config | |
sudo make PG_CONFIG=/usr/lib/postgresql/8.4/bin/pg_config install | |
cd .. | |
PATH=/usr/lib/postgresql/8.4/bin/:$PATH ./admin/InitDb.pl --createdb --clean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment