Using the Bundle Available on the Local Machine to Configure the TTU Repository - Teradata Tools and Utilities

Teradata® Tools and Utilities for Linux Installation Guide Amazon Linux 2, CentOS, OEL, RedHat, SLES, Ubuntu - 17.20

Deployment
VantageCloud
deployment
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Tools and Utilities
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-11-17
dita:mapPath
trg1641290463177.ditamap
dita:ditavalPath
bbv1473194095470.ditaval
dita:id
ems1473187628189
Product Category
Teradata Tools and Utilities
Complete the following steps to install TTU packages through YUM using the bundle available on the local machine:
  1. Make sure the Bundle is copied to the target machine.
  2. Change directory to the repository location available inside the Bundle:
    cd <Bundle-Location>/Linux|Ubuntu/<Arch>
  3. Run the mkrepo.sh shell script (without any parameters) to add the Teradata repository to the local YUM configuration:
    sh ./mkrepo.sh
    
    Usage: ./mkrepo.sh [-u server -n <destination>] [-u client -n <repourl>] [-h]
    
    [-u server -n <destination>]
    
    -u server : Script will setup TTU yum repository on local server.
    -n <destination> : Denotes absolute path of the destination folder to copy 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 Web server: /var/www/html
    
    [-u client -n <repourl>]
    
    -u client : Script will add existing TTU repository to yum configuration.
    -n <repourl> : Denotes web URL from which yum can download TTU packages.
    Here assumption is that TTU repository is available for download on the web server.
    Example <repourl>: http://server-address/17.20/Linux/x8664/BASE
    
    Note: If no input is given, the script assumes that a TTU Bundle is copied and extracted to the local machine.
    The script will add the local TTU repository to yum configuration.
    
    -------------------------------------------------------------------------------------
    No inputs have been provided to the './mkrepo.sh' script.
    The script will add the local TTU repository to 'yum' configuration.
    Do you want to continue? [Y/n (default: Y)]:
    
    Will use/create the following 'yum' repository file:
    Filename: '/etc/yum.repos.d/ttu-foundation-1720.repo'
    -----------------------------------------------------------------
    [ttu-foundation-1720]
    name=TTU Foundation 1720 x8664
    baseurl=file:///opt/BASE/TeradataToolsAndUtilitiesBase/Linux/x8664
    enabled=1
    gpgcheck=1
    gpgkey=https://www.teradata.com/Security-Information/TD-RPM-SIGN-KEY.asc
    -----------------------------------------------------------------
    Do you want to continue? [Y/n (default: Y)]:
    
    Successfully copied to /etc/yum.repos.d. Kindly update the package lists before installing any packages.
    Example: yum update.
    
    Executing importkey.sh
    TD-RPM-SIGN-KEY is already imported.