Set Up the Local Repository: SUSE
To create a local repository, download your files from the internet and then add the repositories to each node in the cluster.
About this task
You create a local repository from files that you download from the internet, and then add the repositories to each node in the cluster. The files that you download differ from version to version. See the Packages and Dependencies for MapR Software for the URLs for all versions.
Procedure
-
Login as root on the node or use
sudo
. -
Create the following directory if it does not exist:
/var/www/html/zypper/base
-
On a computer that is connected to the internet, download the following files,
substituting the appropriate
<version>
and<datestamp>
.For example:https://package.ezmeral.hpe.com/releases/<version>/suse/mapr-<version>GA.rpm.tgz
-
Copy the files to
/var/www/html/zypper/base
on the node, and extract them there.For example:tar -xvzf <product_package>.rpm.tgz
-
Create the base repository headers.
createrepo /var/www/html/zypper/base
-
Verify that the new
/var/www/html/zypper/base/repodata
directory contains the following files.filelists.xml.gz
,other.xml.gz
,primary.xml.gz
,repomd.xml
-
Add the repositories for core and the ecosystem packages to each node in the
cluster.
zypper ar http://<host>/zypper/base/ maprtech