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 as below:
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/16.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-1620.repo ----------------------------------------------------------------- [ttu-foundation-1620] name=TTU Foundation 1620 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-1620.repo to /etc/yum.repos.d? [y/n]: y
-
Provide “y” as input so that TTU repo will be added to YUM/apt-get configuration.
Here:
- <TTU-Version> is the version of the TTU. Ex: 16.20.00.00
- <Arch> is the TTU bundle-supported architectures. Ex: i386-x8664, s390x.
- <Mediatype> is the type of the TTU media. Ex: BASE, TSME.