Set up a local repository for DPS
Setting up a local repository involves moving the tarball to the selected mirror server and extracting the tarball to create the repository.
- Ensure that you have downloaded the required tarball from the customer portal, following the instructions provided as part of the product procurement process.
- You must have completed the preparatory tasks before setting up a repository.
Copy the repository tarballs to the web server directory and expand (uncompress)
the archive file:
Navigate to the web server directory you previously created.
cd /var/www/html/All content in this directory is served by the web server.
Move the tarball to the current directory and expand each of the repository
Replace <filename> with the actual name of the RPM tarball that you are expanding.
tar zxvf <filename>.tar.gzDuring expansion of the tarball, subdirectories are created in /var/www/html/, such as DP/centos7. These directories contain the repositories.
Expanding the tarball takes several seconds.
- Navigate to the web server directory you previously created.
Confirm that you can browse to the newly created local repositories by using the
DPS Platform Base URL example:
This is the FQDN and port of the web server host.
The repository name, usually the abbreviated name of the DPS component, for example DP for DPS Platform.
The operating system.
The version number of the downloaded component.
http://<your_webserver>:port/DP/centos7/184.108.40.206Remember this base URL. You need it to set up the repository configuration file in subsequent steps.
If you have multiple repositories configured in your environment, deploy the
following plugin on all the nodes in your cluster.
yum install yum-plugin-priorities
Edit the /etc/yum/pluginconf.d/priorities.conf file to add the
[main] enabled=1 gpgcheck=0