Setting up the local repository
The second step is to set up a local repository. In this step, you move the tarball to the selected mirror server and extract the tarball to create the repository.
Copy the repository tarballs to the web server directory and expand (uncompress)
the archive file:
Change to the web server directory that you created earlier.
cd /var/www/html/All content in this directory is served by the web server.
Move the tarballs to the current directory and expand each of the repository
tarballs that you downloaded.
Replace <file-name> with the actual name of the RPM tarball that you are expanding.
tar zxvf <file-name>.tar.gzWhen you expand the tarball, subdirectories are created under /var/www/html/, such as DAS/centos7. These directories contain the repositories.
- Change to the web server directory that you created earlier.
Confirm that you can browse to the newly created local repositories by using the
Base URL ExamplesDAS Base URL:
This is the FQDN of the web server host.
This is composed of the abbreviated name of the repository, such as DAS.
This is the operating system version.
This is the version number of the downloaded repository, appended with a unique version number.
http://webserver.com:port/DAS/centos7/184.108.40.206-XIf you choose to use DAS with DP, then note the base URLs. You need the base URLs to install the DAS-DP App on the host and to install the associated agent on the clusters.
If you have configured multiple repositories in your environment, then install 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
The repositories for DAS are now prepared for installation.