Solr (pronounced “solar”) is an open source enterprise search platform from the Apache Lucene project. Its major features include full-text search, hit highlighting, faceted search, dynamic clustering, database integration, and rich document (e.g., Word, PDF) handling. Providing distributed search and index replication, Solr is highly scalable. Solr is the most popular enterprise search engine.
Installing Solr version 4.3.0 on Ubuntu 12.04 LTS
- Java 1.6 or greater. running java -version at the command line should show version number starting with 1.6
- Solr release which you can find here.
Getting Tomcat6, install all dependencies with it
apt-get install tomcat6
Checking Java version
Should get a result similar to this
java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.5) (6b27-1.12.5-0ubuntu0.12.04.1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
Download the latest version of Solr and extract it
tar zxvf solr-4.3.0.tgz
mv solr-4.3.0 /usr/local/solr-4.3.0
java -jar start.jar
Open your favorite web browser and open this URL
Replace by the IP address of the Solr host
You should get something looks like this
Auto start Solr at boot
Follow my older post: Running Java applications as daemon on Linux