Posts Tagged ‘apache tomcat’

Solr & Tomcat install for Ubuntu 8.04 or 9.10

Posted in General on November 18th, 2009 by slacy – Be the first to comment

NOTE: THE VERSION OF SOLR PROVIDED BY UBUNTU IS ONLY 1.2.  THIS VERSION IS OVER 2 YEARS OLD.

You can fairly easily install tomcat & Solr for Ubuntu via apt-get, but there are some quick caveats before you begin.  The packages are in the base repositories, but something is messed up with the dependencies, so you can’t just say “sudo apt-get install solr-tomcat5.5″ unless tomcat is already installed.  So, the right sequence is:

$ sudo apt-get install tomcat5.5
$ sudo apt-get install solr-tomcat5.5

I’m a bit nervous that solr doesn’t seem to work with (or rely on) newer versions of tomcat, but I’m to to stressed at the moment.  Once you’re done with the above, you can check your Solr install at http://localhost:8180/solr/admin

Solr config files live in /etc/solr/config/…