Execute the mkrepo.sh Script - Teradata Tools and Utilities

Teradata Tools and Utilities for HP-UX Installation Guide

Product
Teradata Tools and Utilities
Release Number
15.10
Published
August 2016
Language
English (United States)
Last Update
2018-06-05
dita:mapPath
PDF_Installation_UNIX_HP_UX_1600.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-3124
lifecycle
previous
Product Category
Teradata Tools and Utilities

The mkrepo.sh script has to be executed from the .../Linux/i386-x8664 folder.

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

Paramters:
  • [-u server -n <destination>]
    • -u server: Script will set up the TTU YUM 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

    httpd has to be installed on the server.

  • [-u client -n <repourl>]
    • -u client: Script will add existing TTU repository to YUM configuration
    • -n <repourl>: weburl from which YUM 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/15.10.04.10/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 configuration.

The script will prompt to copy the repository file to the system-specific repository location:
  • For RedHat - /etc/yum.repos.d
  • For SUSE and s390x - /etc/zypp/repos.d