Installing Externally Managed SolrCloud
Installation and Configuration Steps
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
Edit the
install.properties
file (see the instructions in the following sections).Run the
./setup.sh
script.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 Name | Value | Description |
---|---|---|
SOLR_INSTALL | true | When set to true , he setup.sh
script will download the Solr package and install it. |
SOLR_DOWNLOAD_URL | http://archive.apache.org/dist/lucene/solr/5.2.1/solr-5.2.1.tgz | It is recommended that you use one for Apache mirror sitess 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/solr | The Solr install folder. |