Usage of mkrepo.sh Script - Teradata Tools and Utilities

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

Deployment
VantageCloud
deployment
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Tools and Utilities
Release Number
20.00
Published
October 2023
Language
English (United States)
Last Update
2023-11-20
dita:mapPath
nax1691660037807.ditamap
dita:ditavalPath
ft:empty
dita:id
ems1473187628189
Product Category
Teradata Tools and Utilities

Execute the mkrepo.sh script from the <Linux|Ubuntu>/<Architecture> folder.

Usage: ./mkrepo.sh [-u server -n <destination>] | [-u client -n <repourl>]

Parameters:
  • [-u server -n <destination>]
    • -u server: Script will set up the TTU YUM/apt-get repository on the local Server
    • -n <destination>: 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 symbolic link created to the root folder.

    Example Web server: Apache

  • [-u client -n <repourl>]
    • -u client: Script adds existing TTU repository to YUM/apt-get configuration
    • -n <repourl> denotes weburl from which YUM/apt-get can download the TTU packages

      Here, the assumption is that the TTU repository is available for download on the web server.

      Example repourl: http://server-address/17.20.00.00/Linux/i386-x8664/BASE

  • If no input is given, the script assumes that the TTU Bundle is copied and extracted to the local machine. So, the script adds the local TTU repository to the YUM/apt-get configuration.

The script prompts you to copy the repository file to the system-specific repository location:
  • For CentOS and RedHat - /etc/yum.repos.d
  • For SLES and OEL - /etc/zypp/repos.d
  • For Ubuntu - an entry is appended to /etc/apt/sources.list