Security
Also available as:
PDF
loading table of contents...

Installing Externally Managed SolrCloud

Installation and Configuration Steps

  1. Run the following commands:

    cd $HOME
    git clone https://github.com/apache/incubator-ranger.git
    cd incubator-ranger/security-admin/contrib/solr_for_audit_setup

  2. Edit the install.properties file (see the instructions in the following sections).

  3. Run the ./setup.sh script.

  4. Refer to $SOLR_RANGER_HOME/install_notes.txt for additional instructions.

Solr Installation

You can download the Solr package from Apache Solr Downloads. Make sure that the Solr version is 5.2 or above. You can also use the Ranger setup.sh script to automatically download, install, and configure Solr. If you would like to use the setup.sh script to install Solr, set the following properties in the install.properties files, along with the settings from the one of the configuration options in the following sections.

Table 5.1. Solr install.properties Values for setup.sh script

Property NameValueDescription
SOLR_INSTALLtrueWhen set to true, hesetup.sh script will download the Solr package and install it.
SOLR_DOWNLOAD_URLhttp://archive.apache.org/dist/lucene/solr/5.2.1/solr-5.2.1.tgzIt is recommended that you use one for Apache mirror sites to download the Solr package. You can choose a mirror site at http://lucene.apache.org/solr/mirrors-solr-latest-redir.html
SOLR_INSTALL_FOLDER/opt/solrThe Solr install folder.