Complete the following steps to set up the TTU repository that can be accessible via a URL.
- Make sure the bundle is copied to target machine.
- Make sure the web server is up and running on the target machine. Example web server: Apache
- Log in to the target machine and change directory to the repository location available inside Bundle.cd <Bundle-Location>/<Linux|Ubuntu>/<Arch>Here:
- <Bundle-Location> is the absolute location of the Bundle.
- <Linux|Ubuntu>: Use Ubuntu on a Ubuntu system or Linux for all other Linux flavors.
- <Arch> is the TTU bundle-supported architectures, for example, i386-x8664, s390x.
- Run the mkrepo.sh script:mkrepo.sh –u server –n <destination>
- -u server: Script sets up the TTU YUM/apt-get repository on the local Server.
- -n 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 a symbolic link created to the root folder.
Example: mkrepo.sh –u server –n /var/www/html
Successfully copied rpms from <Bundle-Location>/Linux|Ubuntu/<Arch> to destination:/var/www/html/<TTU-Version>/Linux|Ubuntu/<Arch>/<Mediatype> Please refresh your web server URL to check if rpms are available for download. Example url: http://server-address/ Example RPM location: http://server-address/<TTU-Version>/Linux/<Arch>/<Mediatype>
where:- <Bundle-Location> is the absolute path of the Bundle.
- <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.