After you have prepared your environment for installation, please complete the following steps to install the .

1. Install OpenJDK

You must install a supported version of OpenJDK on the  .

NOTE: If you are integrating with S3, a different version of Java may be required. For more information, see System Requirements.

Install commands:

Centos/RHEL:

sudo yum install java-1.8.0-openjdk-1.8.0 java-1.8.0-openjdk-devel

NOTE: If java-1.8.0-openjdk-devel is not included, the batch job runner service, which is required, fails to start.

Ubuntu:

sudo apt-get install openjdk-8-jre-headless

JAVA_HOME:

By default, the JAVA_HOME environment variable is configured to point to a default install location for the OpenJDK package. The property value must be updated in the following locations:

  1. Edit the following file: /opt/trifacta/conf/env.sh

  2. Save changes.
  3. Update the following parameter value:

    "env.JAVA_HOME": "/usr/lib/jvm/java-1.8.0-openjdk.x86_64",
  4. Save changes.

2. Install Dependencies

NOTE: Install curl if not present on your system.

Install dependencies with Internet access for CentOS or RHEL:

Use the following to add the hosted package repository for CentOS/RHEL, which will automatically install the proper packages for your environment. These steps also install the proper version of PostgreSQL and the .

 

# If the client has curl installed ...
curl https://packagecloud.io/install/repositories/trifacta/dependencies/script.rpm.sh | sudo bash
 
# Otherwise, you can also use wget ...
wget -qO- https://packagecloud.io/install/repositories/trifacta/dependencies/script.rpm.sh | sudo bash

Install dependencies with Internet access for Ubuntu:

Use the following to add the hosted package repository for Ubuntu, which will automatically install the proper packages for your environment. 

NOTE:  When dependencies are acquired for Ubuntu, the operating system grabs the latest version of a dependency, even if it is later than the version on which the software is dependent. In some cases, this mismatch can result in installation errors, which can be fixed by manually installing the dependency with the correct version.

Then, execute the following command: 

curl https://packagecloud.io/install/repositories/trifacta/dependencies/script.deb.sh | sudo bash


3. Install  

NOTE: Installing the in a different directory other than the default one is not supported.

For CentOS or RHEL:

Install the package with yum, using root:

sudo yum install <rpm file>

For Ubuntu:

Install the package with apt, using root:

sudo dpkg -i <deb file>

The previous line may return an error message, which you may ignore. Continue with the following command: 

sudo apt-get -f -y install

The product is installed in the following directory: 

/opt/trifacta

4. Install License Key

Please install the license key provided to you by  into the following directory:

/opt/trifacta/license

For more information, see License Key.

5. Store install packages

For safekeeping, you should retain all install packages that have been installed with this .

6. Install databases

Use the following commands to install the in a local instance of PostgreSQL.

7. Configure databases

For more information, see Configure the Databases.

If needed, you can change the default database port. See Change Database Port.