Data Analytics Studio Installation
Also available as:
PDF

Create the Repository Configuration File

A repository configuration file must be created for the DAS Service on the DPS host. The file is required to identify the path to the repository data, and establish whether a GPG signature check should be performed on the repository packages. Only one repository configuration file is needed.

  1. Navigate to the repository directory.
    cd /etc/yum.repos.d/
  2. Create a repository file.
    vi das.repo
    Alternatively, you can copy an existing repository file to edit.
  3. Add 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: DAS-APP-1.0.0.0-59
    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 Repository File
    #VERSION_NUMBER=1.0.0.0-1 
    [DAS-APP-1.0.0.0-59] 
    name=DAS-APP Version - DAS-APP-1.0.0.0-1
    baseurl=http://<your_webserver>:port/DAS-APP/centos7/1.0.0.0
    gpgcheck=1
    gpgkey=http://<your_webserver>:port/DAS-APP/centos7/1.0.0.0/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
    enabled=1
    priority=1