Running Silent Mode Installation
You can install in silent mode. A silent mode installation does not require any user input at the time of installation to complete the installation process. It does not have a graphical user interface (GUI) but instead uses the values from a response file to perform the installation.
Topics covered include:
| • | Creating the Options File for a Silent Installation |
| • | Running the Installer in Silent Mode |
Creating the Options File for a Silent Installation
Optionally, when running a silent mode installation you can use an options file that has specific key-value pairs.
To create the options file for a silent install
| 1. | In a text editor, create a options file similar to the following: |
|
Business Directory
|
# Modify install directory and all port number references # mode=unattended install_directory=/opt/TIBCO/BD server_port=9500 repository_admin_password=password bd_admin_password=password ----------------------------------------- |
|
TDV Server |
# Modify install directory and all port number references # mode=unattended install_directory=/opt/TIBCO/TDV server_port=9400 repository_admin_password=password database_admin_password=password server_admin_password=password ------------------------------------------ |
| 2. | Edit the values within the file for your installation. |
The following table describes the variables in the response file:
|
Variable |
Description and Value |
|
Directory in which to install the software referred to as <TDV_Installdir>. The value can be empty, or the directory can be non-existent. On UNIX, there can be no space in the directory name. Examples: install_directory=/opt/TIBCO/TDV install_directory=C:\Program Files\TIBCO\Studio install_directory=/opt/TIBCO/BD |
|
|
Password to access the repository database, which is automatically installed during the installation. PostgreSQL requires that the password you choose cannot contain a # or $. |
|
|
Defaults to 9400 for TDV and 9500 for Business Directory. |
|
|
The password used to access the default caching database, which is automatically created during installation. PostgreSQL requires that the password you choose cannot contain a # or $. This password is used only during TDV Server installation and is not required during the Business Directory installation. |
|
|
The password used to login to the web manager and the client applications. |
|
|
BD_ADMIN_PASSWORD |
Business Directory Server Application password. |
| 3. | Save the file as <installer.properties>. |
Running the Installer in Silent Mode
To run the installer in silent mode
| 4. | Option file method: |
a. Create the options file. See Creating the Options File for a Silent Installation .
b. Run the installer with the following option: <instFile>.exe/bin --optionfile <OPTION_FILE>
| 5. | Command line (no options file) method - See examples below: |
| 6. | Run one of the following commands: |
|
Component |
Command Options |
||||||||||||
|
TDV Server |
<instFILE>.exe --mode unattended --install_directory <TDV_Installdir> --server_port "6400" --server _admin_password "admin1" --repository_admin_password "password" --database_admin_password "password" Note: database_admin_password is only valid for TDV Server. BD does not use this variable.
<instFILE>.exe --mode unattended --server _admin_password "admin1" --repository_admin_password "password" --database_admin_password "password" This command installs TDV Server in the default directory C:\Program Files\TIBCO\TDV Server <version> on default port 9400.
<instFILE>.bin --mode unattended --install_directory <TDV_Installdir> --server_port "6400" --server _admin_password "admin1" --repository_admin_password "password" --database_admin_password "password"
<instFILE>.bin --mode unattended --server _admin_password "admin1" --repository_admin_password "password" --database_admin_password "password" This command installs TDV Server in the default directory /opt/TIBCO/TDV_Server_<version> on default port 9400. Note: User should have rwx permissions on /opt |
||||||||||||
|
Business Directory |
<instFILE>.exe --mode unattended --install_directory “<TDV_Installdir>” --bd_admin_password "admin1" --repository_admin_password "password" --server_port 9500
<instFILE>.exe --mode unattended --bd_admin_password "admin1" --repository_admin_password "password" This command installs BD in the default directory C:\Program Files\TIBCO\BD Server<version> on default port 9500.
<instFILE>.bin --mode unattended --install_directory “<TDV_Installdir>" --bd_admin_password "admin1" --repository_admin_password "password" --server_port 9500
<instFILE>.bin --mode unattended --bd_admin_password "admin1" --repository_admin_password "password" The above command installs BD in the default directory: /opt/TIBCO/TDV_BD_Server_8.0 on port 9500 Note: User should have rwx permissions on /opt |
Note: Run the command, <instFile>.exe --help for a list of all valid options.
The variables are as follows:
| — | <instFILE> is the file name. For example, TIB_tdv_bd_8.0.0_win_x86_64 for a Windows TDV Business Directory. |
| — | <OPTION_FILE> is the name of the file where the input parameters are stored. |
| 7. | Verify that the installation was successful by looking for the TDV installation directory. You can also view success or failure messages in: |
| — | %HOMEDRIVE%\TDV_BD_install.log (Windows) or /tmp/TDV_BD_install.log (UNIX) |
| — | %HOMEDRIVE%\TDV_install.log (Windows) or /tmp/TDV_install.log (UNIX) |
| 8. | For CentOS, Red Hat Enterprise Linux, and Oracle Red Hat Enterprise Linux systems Security-Enhanced Linux (SELinux) must be enabled. See Configuring Security Enhanced Linux Environments, page 7 in the Security Features Guide. |