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.
cd /var/www/html/
Untar the repository tarballs to the following location:
<web.server.directory>/CLOUDERA-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 CLOUDERA-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>/CLOUDERA-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.
yum install yum-plugin-priorities
Edit the
/etc/yum/pluginconf.d/priorities.conf
file to add the following:[main] enabled=1 gpgcheck=0