trove/integration/scripts/files/elements/ubuntu-db2
wangqi de26c5ec79 drop extra word to fix typo
Change-Id: I6c55ce58bae79da6d2d18a5fd017d4932a637e17
2018-02-24 04:27:57 +00:00
..
extra-data.d Merge trove-integration into trove 2016-10-09 07:14:25 -04:00
install.d Accept the IBM DB2 license during the DIB process 2018-02-02 11:12:02 -05:00
README.md drop extra word to fix typo 2018-02-24 04:27:57 +00:00

Creates an image for DB2 Express-C v11.1

The packages for DB2 Express-C can be downloaded from: https://www.ibm.com/developerworks/downloads/im/db2express/ and click on the link "Download" button and then click on "DB2 Express-C for Linux 64-bit". New users can either get an IBM ID or click on the "Proceed without an IBM ID". User is provided with a registration form which needs to be completed in order to proceed further to download the DB2 Express-C packages. After accepting the license agreement, user can download the DB2 Express-C package (.tar.gz file).

There are 2 options for making the DB2 Express-C package accessible to the Trove disk-image building process:

  • place the package in a private repository and set the environment variable DATASTORE_PKG_LOCATION with the url to this private repository. e.g. export DATASTORE_PKG_LOCATION="http://www.foo.com/db2/v11.1_linuxx64_expc.tar.gz"

  • download the package and place it in any directory on the local filesystem that the trovestack script can access. Set the environment variable DATASTORE_PKG_LOCATION with the full path to the downloaded package. e.g. export DATASTORE_PKG_LOCATION="/home/stack/db2/v11.1_linuxx64_expc.tar.gz"

The environment variables used are as follows:

DATASTORE_PKG_LOCATION - is the place where user stores the DB2 Express-C package after registration. This can either be a url to a private repository or the full path to the downloaded package on a local filesystem. DATASTORE_DOWNLOAD_OPTS - defines any wget options user wants to specify like user,password, etc. This is an optional variable and is needed only if specifying a private repository to download the packages from. e.g. export DATASTORE_DOWNLOAD_OPTS="--user=foo --password='secret'"