Solr

Installing and Configuring Solr on Debian GNU/Linux

After installing and playing around with Solr on my Gentoo box, I had to deploy the same stuff on Debian Lenny/sid.

The difference between the two distros wasn't huge but it worth mentioning that Tomcat 6 didn't hit Debian's experimental until the moment I am typing this.

The installation of Tomcat 5.5 and Solr 1.2 from APT is as easy as:

# apt-get install solr-tomcat5.5

The problem for me is: Tomcat 5.5 is way old and caused me few issues with relatively bug updates to Solr. So I wanted to install Tomcat 6 which will be done with these steps:

# cd
# apt-get install sun-java6-jdk
# wget http://apache.osuosl.org/tomcat/tomcat-6/v6.0.18/bin/apache-tomcat-6.0.1...
# tar zxf apache-tomcat-6.0.18.tar.gz

Installing and Configuring Solr on Gentoo Linux

Lucene is a very nice, robust and flexible search engine. The ways you can benefit from Lucene varies from small library system to a large e-commerce portal. To unleash Lucene, you either have to use Lucene ported to your favorite language or install Solr and let Solr handle communication with Lucene. Here we are going to install Solr on a Gentoo Linux box with Tomcat as the servlet container. To get started, install Tomcat using: # emerge tomcat Default Tomcat configuration reserves the port 8080 for Tomcat which is fine unless you have another service running on that port. Now let's download Solr: ~ $ mkdir solr ~ $ cd solr

About Me

I am Omar. An OpenSource enthusiast, I do Drupal contributing and service providing. Get some more boring details here. You may contact me for any ideas, questions or help.

Tags

Online

There are currently 1 user and 2 guests online.

Online users

Powered by Drupal, an open source content management system