Apache Solr Search Installation
Also available as:
PDF

Installing HDP Search 3.0 Manually

HDP Search 3.0 packages are located in the HDP-SOLR 3.0 repository.

To install HDP Search 3.0, run the appropriate commands for your operating system on all cluster nodes that will run Solr.

[Note]Note

RPM packages for CentOS/RHEL/Oracle Linux are signed, so you will need to add the gpg key to your server. That step is included in the following instructions.

  • CentOS/RHEL/Oracle Linux 6:

    rpm --import http://public-repo-1.hortonworks.com/HDP-SOLR-3.0.0-100/repos/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
    cd /etc/yum.repos.d/
    wget http://public-repo-1.hortonworks.com/HDP-SOLR-3.0.0-100/repos/centos6/hdp-solr.repo
    yum install lucidworks-hdpsearch
  • CentOS/RHEL/Oracle Linux 7:

    rpm --import http://public-repo-1.hortonworks.com/HDP-SOLR-3.0.0-100/repos/centos7/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
    cd /etc/yum.repos.d/
    wget http://public-repo-1.hortonworks.com/HDP-SOLR-3.0.0-100/repos/centos7/hdp-solr.repo
    yum install lucidworks-hdpsearch
  • SUSE11SP3/SP4:

    cd /etc/zypp/repos.d/
    wget http://public-repo-1.hortonworks.com/HDP-SOLR-3.0.0-100/repos/suse11sp3/hdp-solr.repo
    zypper install lucidworks-hdpsearch
  • Ubuntu12:

    cd /etc/apt/sources.list.d
    wget http://public-repo-1.hortonworks.com/HDP-SOLR-3.0.0-100/repos/ubuntu12/hdp-solr.list
    apt-get update
    apt-get install lucidworks-hdpsearch
  • Ubuntu14:

    cd /etc/apt/sources.list.d
    wget http://public-repo-1.hortonworks.com/HDP-SOLR-3.0.0-100/repos/ubuntu14/hdp-solr.list
    apt-get update
    apt-get install lucidworks-hdpsearch
  • Debian6:

    cd /etc/apt/sources.list.d
    wget http://public-repo-1.hortonworks.com/HDP-SOLR-3.0.0-100/repos/debian6/hdp-solr.list
    apt-get update
    apt-get install lucidworks-hdpsearch
  • Debian7:

    cd /etc/apt/sources.list.d
    wget http://public-repo-1.hortonworks.com/HDP-SOLR-3.0.0-100/repos/debian7/hdp-solr.list
    apt-get update
    apt-get install lucidworks-hdpsearch
    [Important]Important

    For Debian or Ubuntu, if you see the following error during apt-get update:

    W: GPG error: http://public-repo-1.hortonworks.com HDP-SOLR Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B9733A7A07513CAD

    Run the following commands:

    apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B9733A7A07513CAD
    apt-get update