Set Up a Local Repository
Setting up a local repository involves moving the tarball to the selected mirror server and extracting the tarball to create the repository.
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 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.gzDuring expansion of the tarball, subdirectories are created in /var/www/html/, such as DSS/centos7. These directories contain the repositories.
Expanding the tarballs 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
Base URL ExamplesDSS Base URL:
This is the FQDN of the web server host.
This is composed of the abbreviated name of the repository, such as DSS.
This is the operating system version.
This is the version number of the downloaded repository with an appended unique number.
http://webserver.com:port/DSS/centos7/22.214.171.124-XBe sure to record these Base URLs, because you need them when installing DSS app on the host, and installing the associated agent on the clusters.
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
The repositories for DSS are now prepared for installation.
Create the configuration file for the DSS repository.