search server - basic or minimal install instructions clarified- thanks!
Doron Tal <[email protected]> Thu, 12 Mar 2015 17:03:17 -0400
| Newsgroups | gmane.comp.audio.musicbrainz.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello all,
This is long overdue, but since someone helped me prevent many more hours of poking around, It's time I share that info.
Thanks to the help from Mr. Hoffmann on this!
The main thing to know when installing the search server (and that is not the Musicbrainz server, it is just the indexed search (SOLR-like searches into artists, recordings, etc.):
To install, do not go into the subversion repository - it is OLD code that does not work.
Instead follow directions here and download sources from here:
https://bitbucket.org/metabrainz/search-server
This worked immediately, out of the box, in a current Ubuntu system.
---
MINIMAL INSTALL:
I am setting up this sever locally so as not to have to hit the Musicbrainz (metabrainz) server directly. But for backup purposes, I'll need more than one. Here's one way to quickly make a second machine run this server if you have already installed the server on a first machine:
Create a full install on one machine, as per the instructions in the bitbucket repository's README.md above. Then, on that machine, issue:
# sudo apt-get install tomcat7
# service tomcat7 stop
# tar czvf search_server_files.tgz \
/etc/tomcat7/server.xml
/etc/default/tomcat7
/var/lib/tomcat7/webapps/ROOT/
/home/search/indexdata/
# service tomcat7 start
That's it!
Best regards,
Doron Tal
[email protected]
_______________________________________________
MusicBrainz-devel mailing list
[email protected]
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel