Steps to install Solr 3.6.1 on CentOS 6.3

Tadashi Shigeoka ·  Tue, November 20, 2012

Notes on the steps to install Solr 3.6.1 on CentOS 6.3.

First, install Java.

CentOS6.3 に Java 1.7 をインストールする手順

# yum -y install java-1.7.0-openjdk
# java -version
java version "1.7.0_09-icedtea"
OpenJDK Runtime Environment (rhel-2.3.3.el6_3.1-x86_64)
OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)

Download the Solr source code, then start the bundled sample with Jetty.

# cd /usr/local/src/
# wget http://archive.apache.org/dist/lucene/solr/3.6.1/apache-solr-3.6.1.tgz
# tar zxvf apache-solr-3.6.1.tgz
# cd apache-solr-3.6.1/example/
# java -jar start.jar &
# curl http://localhost:8983/solr/admin/
→Startup confirmation

That’s all from the Gemba.

【Reference】

Solr Tutorial

Apache SolrをJettyで起動する - ksoedaの日記

Apache SolrをTomcatから使う - ksoedaの日記

Apache Solrを使ってみる - @blog.justoneplanet.info