Installing on Linux
To install the CLI on Linux:
-
Download the trcli-1.13.0.<build number>-linux-installer.tar file from the support portal.
-
Open the terminal.
-
Extract the archive using the command:
tar -xf trcli-1.13.0.<build number>-linux-installer.tar
The archive is placed in a location that contains the install folder that includes install.bin file (the installer).
Note: Launch the installer only through the root user or using the sudo command. The ./install.bin (sudo ./install.bin) command launches the installer in GUI mode by default.
To launch installer in silent mode, use the command-line argument and press Enter.
./install.bin -i console/silent (sudo ./install.bin -i console/silent
Installing the Command Line Interface through the GUI
To install the Tidal Repository Command Line application via the GUI:
-
Enter the command ./install.bin -i gui to launch the installation via the GUI. Follow the instructions in the wizard as shown in the examples below:
-
The Introduction pane is displayed. Click Next.
-
Choose the destination folder in the Choose Install Folder pane. Click Next.
-
Review the information displayed in the Pre-Installation Summary pane and click Install.
-
Click Done to close the wizard.
Installing the Command Line through the CLI
To install the Tidal Repository Command Line application via the CLI:
-
Entering the command ./install.bin -i console, launches the installation via the CLI. Follow the instructions from the CLI.
-
Press Enter to continue with the installation.
-
Choose an install folder. Enter an absolute path or press Enter to accept the default one: /root/TRCLI.
-
Press Enter to continue with the installation. Upon receiving a message indicating that the installation was completed successfully, press Enter to exit the installer.
Installing the Command Line in Silent Mode
Enter the command ./install.bin -i silent -f <path to cli.properties> to execute the installation in silent mode.
Example: The cli.properties
USER_INSTALL_DIR=<absolute path>
PORT_1=<app_port>
DB_TYPE_1=1
DB_TYPE_2=0
DB_NAME_1=<db_name>
DB_HOST_1=<db_host>
DB_PORT_1=<db_port>
DB_USER_1=<db_user>
DB_PASS=<db_password>
INDEX_OF_MATCHING_PASSWORD=0
IS_CREATE=1
DB_ROOT_USER_1=<db_root_user>
DB_ROOT_PASS=<db_root_password>
INDEX_OF_MATCHING_PASSWORD=0