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:
Copy the repository tarball to the web server directory, and untar the file.
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/
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.
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.
Optional: If you have multiple repositories configured in your environment, deploy the following plug-in on all nodes in your cluster.
Install the plug-in.
For RHEL and CentOS 7:
yum install yum-plugin-priorities
For RHEL and CentOS 6:
yum install yum-plugin-priorities
Edit the
/etc/yum/pluginconf.d/priorities.conf
file to add the following:[main] enabled=1 gpgcheck=0