Complete the following steps to add the TTU repository that can be accessible via an URL to YUM/apt-get configuration.
- Copy the mkrepo.sh file from the Bundle (available on the server) that has to be installed to the client.
- Make sure the TTU YUM/apt-get repository is available for download on web server.
- Run mkrepo.sh script:sh mkrepo.sh–u client -n <repourl>
- -u client: Script will add the existing TTU repository to the local YUM configuration.
- -n denotes the 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/<TTU-Version> /Linux/<Arch>/<Mediatype>
Ex: sh mkrepo.sh –u client –n http://server-address/17.20.00.00/Linux/i386-x8664/BASE
Adding http://server-address/<TTU- version>/Linux|Ubuntu/<Arch>/<Mediatype>/ to YUM configuration Use the following Yum repository file: Filename: /etc/yum.repos.d/ttu-foundation-1720.repo ----------------------------------------------------------------- [ttu-foundation-1720] name=TTU Foundation 1720 i386-x8664 baseurl=http://server-address/<TTU- Version>/Linux|Ubuntu/<Arch>/<Mediatype>/ enabled=1 gpgcheck=1 gpgkey=https://access.teradata.com/resources/html/RPM-GPG-KEY-teradata ----------------------------------------------------------------- Copy /tmp/ttu-foundation-1720.repo to /etc/yum.repos.d? [y/n]: y
- Provide “y” as input so that TTU repo is added to YUM/apt-get configuration.where:
- <TTU-Version> is the version of the TTU. For example: 17.20.00.00
- <Arch> is the TTU bundle-supported architectures. For example: i386-x8664, s390x.
- <Mediatype> is the type of the TTU media. For example: BASE, TSME.