Create the Repository Configuration File
A repository configuration file must be created on the DPS host. The file is required to identify the path to the repository data, establish whether a GPG signature check should be performed on the repository packages, etc. Only one repository configuration file is needed.
Steps
Navigate to the repository directory.
cd /etc/yum.repos.d/
Create a repository file.
For example:
vi dp.repo
Alternatively, you can copy an existing repository file to edit.
Add or modify the following content in the repository file.
#VERSION_NUMBER=<downloaded-version#>
[<service-name-abbreviation>]
This is composed of the service name abbreviation and version number (includes the build number). Example: DP-1.0.0-100
name=<service-name-abbreviation> Version - <service-name-abbreviation>
baseurl=http://<webserver-host-name>/<directory-containing-repo>
<webserver-host-name> is the FQDN of the web server host that contains the repository.
This is the same base URL that you used in the task to prepare the repositories.
<directory-containing-repo> is the path expanded from the tarball.
gpgcheck=1
gpgkey=http://<webserver-host-name>/<directory-containing-repo>/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1
Example 4.3. Example Repository File
#VERSION_NUMBER=1.0.0.0-100 [DP-1.0.0.0-100] name=DP Version - DP-1.0.0.0-100 baseurl=http://my-repo-server/DP/centos7/1.0.0.0-100 gpgcheck=1 gpgkey=http://my-repo-server/DP/centos7/1.0.0.0-100/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins enabled=1 priority=1
If you have multiple repositories configured in your environment, edit the
/etc/yum/pluginconf.d/priorities.conf
file to add the following values:[main]
enabled=1
gpgcheck=0
You are now ready to install the DPS Platform and associated UI services, such as DLM and DSS.