Setting up a Local Repository With Temporary Internet Access
If you are setting up a local repository with temporary internet access, complete the following steps:
Put the repository configuration files for HDP Search in place on the host.
Confirm availability of the repositories.
yum repolist
Synchronize the repository contents to your mirror server.
Browse to the web server directory:
cd /var/www/html
Create a directory for HDP Search, and then change to the new directory:
mkdir -p cloudera-hdp-solr/<OS> cd cloudera-hdp-solr/<OS>
<OS>
is centos7 or RHEL 7reposync
the directory:reposync -r CLOUDERA-HDP-SOLR-<latest.version>
Generate the repository metadata for HDP Search:
createrepo <web.server.directory>/CLOUDERA-HDP-SOLR-<latest.version>/<OS>/
Using the following URL, confirm that you can browse to the newly created repository:
http://<web.server>/CLOUDERA-HDP-SOLR-<latest.version>/<OS>/
where
<web.server>
is the fully-qualified domain name of the web server host, and<OS>
is centos7 or RHEL7.Important: Be sure to record the Base 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 the 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