Setting up the TTU Repository on the Server - Teradata Tools and Utilities

Teradata Tools and Utilities for SUSE Linux Installation Guide

Product
Teradata Tools and Utilities
Release Number
15.10.04
Published
July 2017
Language
English (United States)
Last Update
2018-06-05
dita:mapPath
PDF_Installation_Linux_SUSE_1600.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-3122
Product Category
Teradata Tools and Utilities

Set up the TTU repository that can be accessible via a URL.

  1. Make sure the Bundle is copied to the target machine.
  2. Make sure the web server is up and running on the target machine.Example web server: Apache
  3. Log in to the target machine and change directory to the repository location available inside Bundle.

    cd <Bundle-Location>/Linux/<Arch>

    Here:
    • <Bundle-Location> is the absolute location of the Bundle.
    • <Arch> is the TTU bundle-supported architectures, for example, i386-x8664, s390x.
  4. Run the mkrepo.sh script as below:

    sh mkrepo.sh –u server –n <destination>

    • -u server: Script will set up the TTU YUM repository on the local Server.
    • -n denotes the absolute path of the destination folder to copy the TTU packages. This <destination> must be the root folder of the web server, or it should have a symbolic link created to the root folder.

    Example: sh mkrepo.sh –u server –n /var/www/html

    Successfully copied rpms from <Bundle-Location>/Linux/i386-x8664 to destination:/var/www/html/<TTU-Version>/Linux/<Arch>/<Mediatype>
    Please refresh your web server URL to check if rpms are available for download. Example url: http://server-address/
    Example RPM location: HYPERLINK "http://server-address/%3cTTU-Version%3e/Linux/%3cArch%3e/%3cmediatype" http://server-address/<TTU-Version>/Linux/<Arch>/<mediatype>
    Here:
    • <Bundle-Location> is the absolute path of the Bundle.
    • <TTU-Version> is the version of the TTU. Ex: 15.10.04.10.
    • <Arch> is the TTU bundle-supported architectures. Ex: i386-x8664, s390x.
    • <Mediatype> is the type of the TTU media. Ex: BASE, TSME.