Complete the following steps to install TTU packages through YUM using the bundle available on the local machine:
- Make sure the Bundle is copied to the target machine.
- Change directory to the repository location available inside the Bundle:cd <Bundle-Location>/Linux|Ubuntu/<Arch>
- 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.