Apache Solr Search Installation
Also available as:
PDF
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 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:

      <web.server.directory>/HDP-SOLR-<latest.version>/repos/<OS>

      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:

    http://<web.server>/HDP-SOLR-<latest.version>/<OS>/

    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

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

      [main]
      enabled=1
      gpgcheck=0