Installing Cloudera Search without Cloudera Manager

You can also install Cloudera Search manually in some situations; for example, y if you have an existing installation to which you want to add Search.

To use CDH 5, which includes Cloudera Search:

Cloudera Search provides the following packages:

Package Name

Description

solr

Solr

solr-server

Platform specific service script for starting, stopping, or restart Solr.

solr-doc

Cloudera Search documentation.

solr-mapreduce

Tools to index documents using MapReduce.

solr-crunch Tools to index documents using Crunch.

search

Examples, Contrib, and Utility code and data.

Before You Begin

The installation instructions assume that the sudo command is configured on the hosts where you are installing Cloudera Search. If sudo is not configured, use the root user (superuser) to configure Cloudera Search.

Installing Solr Packages

This topic describes how to complete a new installation of Solr packages. To upgrade an existing installation, see Upgrading Cloudera Search.

To install Cloudera Search on RHEL systems:
sudo yum install solr-server
To install Cloudera Search on Ubuntu and Debian systems:
$ sudo apt-get install solr-server
To install Cloudera Search on SLES systems:
$ sudo zypper install solr-server
To list the installed files on RHEL and SLES systems:
$ rpm -ql solr-server solr
To list the installed files on Ubuntu and Debian systems:
$ dpkg -L solr-server solr

Cloudera Search packages are configured according to the Linux Filesystem Hierarchy Standard.

Next, enable the server daemons you want to use with Hadoop. You can also enable Java-based client access by adding the JAR files in /usr/lib/solr/ and /usr/lib/solr/lib/ to your Java class path.