Installing TIBCO Data Science - Team Studio
- Install TIBCO Data Science - Team Studio on a Linux platform. See System Requirements for more information.
- Docker Engine must be installed in your system. See System Requirements for more information.
- You must have a Linux user (for example, tds), and the user must belong to your Docker Linux group. The system administrator can also create a Linux user. Use the following command to add the user to your Docker Linux group.
$ sudo usermod -aG docker $USER
For more information, see the Docker documentation.
- Download the TIBCO Data Science - Team Studio installer package from TIBCO eDelivery to your local machine.
- Procedure
- Switch user to provide ownership for installing TIBCO Data Science - Team Studio (for example, tds).
$ su - tds
Note: You can switch to any user to install TIBCO Data Science - Team Studio. The user must belong to your Docker Linux group. -
Create an installer directory and a downloads directory.
$ mkdir -p installers downloads
-
Configure your shell environment for the user.
-
Update the .bash_profile.
$ echo "export PATH=\$HOME/installers/current/harness:\$PATH" >> ~/.bash_profile
-
Reload the .bash_profile.
$ source ~/.bash_profile
-
- Copy the TIBCO Data Science - Team Studio downloaded file (for example, tds-installer-7.1.0.tgz) to the downloads directory.
-
Extract the TIBCO Data Science - Team Studio installer file to the installers directory.
$ tar xvfz downloads/tds-installer-x.x.x.tgz -C installers
Note: Here x.x.x is the version of the TIBCO Data Science - Team Studio installer package. So, if you are extracting the installer package version 7.0.0, enter the following command:$ tar xvfz downloads/tds-installer-7.0.0.tgz -C installers
You can download various versions of the TIBCO Data Science - Team Studio installer from TIBCO eDelivery and extract them to the installers directory. Now, you can browse the following directory structure for upgrades and downgrades of TIBCO Data Science - Team Studio.
/$HOME
├── downloads
│ └── tds-installer-7.0.0.tgz
│ └── tds-installer-7.0.x.tgz
│ └── tds-installer-7.x.x.tgz
└── installers
├── current -> tds-installer-7.0.0
├── tds-installer-7.0.0
├── tds-installer-7.0.x
├── tds-installer-7.x.x -
Link the current TIBCO Data Science - Team Studio installer.
$ ln -snf tds-installer-x.x.x installers/current
Note: Here x.x.x is the version of the TIBCO Data Science - Team Studio installer. So, if you are installing version 7.0.0, enter the following command:$ ln -snf tds-installer-7.0.0 installers/current
- To configure the TIBCO Data Science - Team Studio platform, perform the following steps:
Use the following command line to start the configuration.
$ tds platform configure
Specify the target for installing the software. The default is
docker-local
.Specify whether you want to install the R Connector.
Specify whether you want to install the Notebooks. If yes, then specify if you want any additional Python packages. For example, pip:theano, conda:matplotlib=3.5.1, and so on.
A private encryption key is generated for encrypting or decrypting the sensitive data. The encryption key is stored in the following path:
resources/tds-chorus/secret/data_encryption_password
Note: Use the following command line to copy the encryption key.cp resources/tds-chorus/secret/data_encryption_password /home/tds/encryption.key
Place the generated encryption key in all the nodes of the Spark cluster in the directory /etc/tds. It must be accessible to the user submitting the Spark jobs.
A
.car
file for integrating the TIBCO Data Virtualization with TIBCO Data Science - Team Studio is generated. The file is stored in the following path:build/tds-datavirt
For more information on integration, see Integrating TIBCO Data Virtualization with TIBCO Data Science - Team Studio.
Manage your Domain Name System (DNS).
Enter your DNS name.
Note: Do not use an underscore (_
) in the DNS hostname.Specify whether you want to enable the Transport Layer Security (TLS). If yes, enter the following details:
Path of the TLS digital certificate.
File path of the TLS private key.
All the answers to the questionnaire are saved to the default environment file.
./tds/installers/current/default.env
Note: If you do not want to go through the interactive questionnaire, enter the following command:$ tds platform build –env-file/path/to/my-custom.env
-
Build the Docker container images.
$ tds platform build
-
Now, deploy the build. This command starts the application.
$ tds platform start
Note: Before performing the next step, wait for 5 minutes for the containers to boot. -
Use the following command line to create all the base operator.
$ tds platform seed
-
If you are using NFS as a shared drive, create a directory for the Jupyter Notebook configuration, and then add the following lines to the
tds-notebook
section of the compose file generator in the installer located at$HOME/installers/current/compose/fragments
.-target: /<directory_path> source: /<directory_path> type: bind
-
Restart the TIBCO Data Science - Team Studio application.
-
Log in as siteadmin using the default password, and then change your default password.