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

Product
Teradata Tools and Utilities
Release Number
17.10
Published
October 2021
Language
English (United States)
Last Update
2021-11-01
dita:mapPath
wle1608578360553.ditamap
dita:ditavalPath
bbv1473194095470.ditaval
dita:id
B035-3160
lifecycle
previous
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.10/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-1710.repo'
    -----------------------------------------------------------------
    [ttu-foundation-1710]
    name=TTU Foundation 1710 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.