Apache Solr Search Installation
Also available as:
Setting Up a Local Repository with No Internet Access

If you are setting up a local repository with no internet access, complete the following steps:

  1. Copy the repository tarball to the web server directory, and untar the file.

    1. Browse to the web server directory you created.

      • For RHEL/CentOS/Oracle Linux: 

        cd /var/www/html/

      • For SLES:

        cd /srv/www/htdocs/rpms

      • For Debian/Ubuntu:

        cd /var/www/html/

    2. Untar the repository tarballs to the following location:


      where <web.server.directory>, <OS>, and <latest.version> represent the web server document root directory, the latest version of HDP-SOLR, the operating system type, and the release version, respectively.

  2. Confirm that you can browse to the newly created local repository:


    where <web.server> is the fully-qualified domain name of your web server host, and <OS> is centos6, centos7, sles11, ubuntu12, ubuntu14, debian6, or debian7.

    Important: Be sure to record this URL. You will need it when installing HDP Search.

  3. Optional: If you have multiple repositories configured in your environment, deploy the following plug-in on all nodes in your cluster.

    1. Install the plug-in.

      • For RHEL and CentOS 7:

        yum install yum-plugin-priorities

      • For RHEL and CentOS 6:

        yum install yum-plugin-priorities

    2. Edit the /etc/yum/pluginconf.d/priorities.conf file to add the following: