Creating a local repository on SUSE
Procedure
-
Login as
root
on the node or usesudo
. -
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>
: (See MapR Repositories and Package Archives for the correct paths for all past releases.)http://package.mapr.com/releases/v<version>/suse/mapr-v<version>GA.rpm.tgz http://package.mapr.com/releases/ecosystem-5.x/suse/mapr-ecosystem-5.x-<datestamp>.rpm.tgz
-
Copy the files to
/var/www/html/zypper/base
on the node, and extract them there.tar -xvzf mapr-v<version>GA.rpm.tgz tar -xvzf mapr-ecosystem-5.x-<datestamp>.rpm.tgz
-
Create the base repository headers:
When finished, verify the content of the new
/var/www/html/zypper/base/repodata
directory:filelists.xml.gz, other.xml.gz, primary.xml.gz, repomd.xml
createrepo /var/www/html/zypper/base